home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / labels / labels.dtx < prev    next >
LaTeX Document  |  1995-03-10  |  13.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
99% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX 2e document text default
98% file TeX document text default
97% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 64 65 66 5c 66 69 6c | 65 76 65 72 73 69 6f 6e |\def\fil|eversion|
|00000010| 7b 38 7d 0a 5c 64 65 66 | 5c 66 69 6c 65 64 61 74 |{8}.\def|\filedat|
|00000020| 65 7b 31 39 39 34 2f 30 | 34 2f 31 35 7d 0a 5c 64 |e{1994/0|4/15}.\d|
|00000030| 65 66 5c 64 6f 63 64 61 | 74 65 20 7b 31 39 39 34 |ef\docda|te {1994|
|00000040| 2f 30 31 2f 31 35 7d 0a | 25 0a 25 20 5c 69 66 66 |/01/15}.|%.% \iff|
|00000050| 61 6c 73 65 0a 25 25 20 | 46 69 6c 65 3a 20 6c 61 |alse.%% |File: la|
|00000060| 62 65 6c 73 2e 64 74 78 | 20 43 6f 70 79 72 69 67 |bels.dtx| Copyrig|
|00000070| 68 74 20 28 43 29 20 31 | 39 39 34 20 53 65 62 61 |ht (C) 1|994 Seba|
|00000080| 73 74 69 61 6e 20 52 61 | 68 74 7a 0a 25 20 0a 25 |stian Ra|htz.% .%|
|00000090| 20 20 54 68 69 73 20 70 | 61 63 6b 61 67 65 20 69 | This p|ackage i|
|000000a0| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|000000b0| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|000000c0| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|000000d0| 2c 0a 25 20 20 62 75 74 | 20 57 49 54 48 4f 55 54 |,.% but| WITHOUT|
|000000e0| 20 41 4e 59 20 57 41 52 | 52 41 4e 54 59 3b 20 77 | ANY WAR|RANTY; w|
|000000f0| 69 74 68 6f 75 74 20 65 | 76 65 6e 20 74 68 65 20 |ithout e|ven the |
|00000100| 69 6d 70 6c 69 65 64 20 | 77 61 72 72 61 6e 74 79 |implied |warranty|
|00000110| 20 6f 66 0a 25 20 20 4d | 45 52 43 48 41 4e 54 41 | of.% M|ERCHANTA|
|00000120| 42 49 4c 49 54 59 20 6f | 72 20 46 49 54 4e 45 53 |BILITY o|r FITNES|
|00000130| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00000140| 41 52 20 50 55 52 50 4f | 53 45 2e 0a 25 0a 25 3c |AR PURPO|SE..%.%<|
|00000150| 2a 64 72 69 76 65 72 3e | 0a 5c 64 6f 63 75 6d 65 |*driver>|.\docume|
|00000160| 6e 74 63 6c 61 73 73 7b | 6c 74 78 64 6f 63 7d 0a |ntclass{|ltxdoc}.|
|00000170| 5c 62 65 67 69 6e 7b 64 | 6f 63 75 6d 65 6e 74 7d |\begin{d|ocument}|
|00000180| 0a 20 5c 74 69 74 6c 65 | 7b 41 20 70 61 63 6b 61 |. \title|{A packa|
|00000190| 67 65 20 66 6f 72 20 6d | 61 6b 69 6e 67 20 73 74 |ge for m|aking st|
|000001a0| 69 63 6b 79 20 6c 61 62 | 65 6c 73 5c 4c 61 54 65 |icky lab|els\LaTe|
|000001b0| 58 5c 74 68 61 6e 6b 73 | 7b 54 68 69 73 20 66 69 |X\thanks|{This fi|
|000001c0| 6c 65 0a 20 20 20 20 20 | 20 20 20 68 61 73 20 76 |le. | has v|
|000001d0| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 20 5c 66 |ersion n|umber \f|
|000001e0| 69 6c 65 76 65 72 73 69 | 6f 6e 2c 20 6c 61 73 74 |ileversi|on, last|
|000001f0| 0a 20 20 20 20 20 20 20 | 20 72 65 76 69 73 65 64 |. | revised|
|00000200| 20 5c 66 69 6c 65 64 61 | 74 65 2e 7d 7d 0a 20 5c | \fileda|te.}}. \|
|00000210| 61 75 74 68 6f 72 7b 53 | 65 62 61 73 74 69 61 6e |author{S|ebastian|
|00000220| 20 52 61 68 74 7a 20 5c | 61 6e 64 20 4c 65 6f 6e | Rahtz \|and Leon|
|00000230| 6f 72 20 42 61 72 72 6f | 63 61 7d 0a 20 5c 64 61 |or Barro|ca}. \da|
|00000240| 74 65 7b 5c 66 69 6c 65 | 64 61 74 65 7d 0a 20 5c |te{\file|date}. \|
|00000250| 6d 61 6b 65 74 69 74 6c | 65 0a 20 5c 74 61 62 6c |maketitl|e. \tabl|
|00000260| 65 6f 66 63 6f 6e 74 65 | 6e 74 73 0a 20 5c 44 6f |eofconte|nts. \Do|
|00000270| 63 49 6e 70 75 74 7b 6c | 61 62 65 6c 73 2e 64 74 |cInput{l|abels.dt|
|00000280| 78 7d 0a 20 5c 65 6e 64 | 7b 64 6f 63 75 6d 65 6e |x}. \end|{documen|
|00000290| 74 7d 0a 25 3c 2f 64 72 | 69 76 65 72 3e 0a 25 20 |t}.%</dr|iver>.% |
|000002a0| 5c 66 69 0a 25 20 5c 43 | 68 65 63 6b 53 75 6d 7b |\fi.% \C|heckSum{|
|000002b0| 32 38 34 7d 0a 25 20 5c | 62 65 67 69 6e 7b 61 62 |284}.% \|begin{ab|
|000002c0| 73 74 72 61 63 74 7d 0a | 25 20 41 20 5c 4c 61 54 |stract}.|% A \LaT|
|000002d0| 65 58 5c 20 73 74 79 6c | 65 20 74 6f 20 70 72 69 |eX\ styl|e to pri|
|000002e0| 6e 74 0a 25 20 61 20 72 | 65 67 75 6c 61 72 20 67 |nt.% a r|egular g|
|000002f0| 72 69 64 20 6f 66 20 20 | 6c 61 62 65 6c 73 20 6f |rid of |labels o|
|00000300| 6e 20 61 20 70 61 67 65 | 2c 20 73 75 69 74 61 62 |n a page|, suitab|
|00000310| 6c 65 20 66 6f 72 20 73 | 68 65 65 74 73 20 6f 66 |le for s|heets of|
|00000320| 20 6c 61 62 65 6c 73 0a | 25 20 77 68 69 63 68 20 | labels.|% which |
|00000330| 63 61 6e 20 62 65 20 66 | 65 64 20 74 68 72 6f 75 |can be f|ed throu|
|00000340| 67 68 20 61 20 6c 61 73 | 65 72 20 70 72 69 6e 74 |gh a las|er print|
|00000350| 65 72 2e 20 4d 61 63 72 | 6f 73 20 61 72 65 20 70 |er. Macr|os are p|
|00000360| 72 6f 76 69 64 65 64 20 | 74 6f 0a 25 20 61 6c 6c |rovided |to.% all|
|00000370| 6f 77 20 65 61 73 79 20 | 69 6e 70 75 74 20 6f 66 |ow easy |input of|
|00000380| 20 6e 61 6d 65 73 20 61 | 6e 64 20 61 64 64 72 65 | names a|nd addre|
|00000390| 73 73 65 73 20 69 6e 20 | 61 20 66 6f 72 6d 20 66 |sses in |a form f|
|000003a0| 72 65 65 20 6f 66 20 5c | 54 65 58 5c 20 6d 61 72 |ree of \|TeX\ mar|
|000003b0| 6b 75 70 2e 0a 25 20 5c | 65 6e 64 7b 61 62 73 74 |kup..% \|end{abst|
|000003c0| 72 61 63 74 7d 0a 25 0a | 25 20 5c 73 65 63 74 69 |ract}.%.|% \secti|
|000003d0| 6f 6e 7b 55 73 61 67 65 | 7d 0a 25 20 54 68 69 73 |on{Usage|}.% This|
|000003e0| 20 73 74 79 6c 65 20 66 | 69 6c 65 20 77 61 73 20 | style f|ile was |
|000003f0| 77 72 69 74 74 65 6e 20 | 74 6f 20 70 72 69 6e 74 |written |to print|
|00000400| 20 6c 61 62 65 6c 73 20 | 66 72 6f 6d 20 74 68 65 | labels |from the|
|00000410| 20 73 68 6f 70 20 61 72 | 6f 75 6e 64 20 74 68 65 | shop ar|ound the|
|00000420| 0a 25 20 63 6f 72 6e 65 | 72 20 66 72 6f 6d 20 6d |.% corne|r from m|
|00000430| 65 2e 20 54 68 65 73 65 | 20 68 61 76 65 20 38 20 |e. These| have 8 |
|00000440| 72 6f 77 73 20 61 6e 64 | 20 33 20 63 6f 6c 75 6d |rows and| 3 colum|
|00000450| 6e 73 20 6f 6e 20 61 20 | 73 68 65 65 74 20 6f 66 |ns on a |sheet of|
|00000460| 20 41 34 0a 25 20 70 61 | 70 65 72 2e 20 59 6f 75 | A4.% pa|per. You|
|00000470| 72 20 6c 61 62 65 6c 73 | 20 77 69 6c 6c 20 76 65 |r labels| will ve|
|00000480| 72 79 20 6c 69 6b 65 6c | 79 20 62 65 20 64 69 66 |ry likel|y be dif|
|00000490| 66 65 72 65 6e 74 2e 0a | 25 20 53 6f 20 66 69 72 |ferent..|% So fir|
|000004a0| 73 74 20 79 6f 75 20 68 | 61 76 65 20 74 6f 20 74 |st you h|ave to t|
|000004b0| 61 69 6c 6f 72 20 74 68 | 69 73 20 66 69 6c 65 20 |ailor th|is file |
|000004c0| 74 6f 20 79 6f 75 72 20 | 70 61 72 74 69 63 75 6c |to your |particul|
|000004d0| 61 72 20 74 79 70 65 20 | 6f 66 20 6c 61 62 65 6c |ar type |of label|
|000004e0| 2e 0a 25 20 45 64 69 74 | 20 74 68 65 20 6c 69 6e |..% Edit| the lin|
|000004f0| 65 73 20 62 65 6c 6f 77 | 20 20 77 68 69 63 68 20 |es below| which |
|00000500| 6c 6f 6f 6b 20 6c 69 6b | 65 20 74 68 69 73 3a 0a |look lik|e this:.|
|00000510| 25 20 20 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |% \begi|n{verbat|
|00000520| 69 6d 7d 0a 25 20 20 20 | 5c 4c 61 62 65 6c 43 6f |im}.% |\LabelCo|
|00000530| 6c 73 3d 33 0a 25 20 20 | 20 5c 4c 61 62 65 6c 52 |ls=3.% | \LabelR|
|00000540| 6f 77 73 3d 38 0a 25 20 | 20 5c 65 6e 64 7b 76 65 |ows=8.% | \end{ve|
|00000550| 72 62 61 74 69 6d 7d 0a | 25 20 74 6f 20 72 65 66 |rbatim}.|% to ref|
|00000560| 6c 65 63 74 20 7b 5c 65 | 6d 20 79 6f 75 72 7d 0a |lect {\e|m your}.|
|00000570| 25 20 67 72 69 64 20 28 | 6d 61 79 62 65 20 79 6f |% grid (|maybe yo|
|00000580| 75 20 68 61 76 65 20 6f | 6e 6c 79 20 74 77 6f 20 |u have o|nly two |
|00000590| 63 6f 6c 75 6d 6e 73 20 | 6f 66 20 74 65 6e 20 6c |columns |of ten l|
|000005a0| 61 62 65 6c 73 20 65 61 | 63 68 2c 20 66 6f 72 0a |abels ea|ch, for.|
|000005b0| 25 20 69 6e 73 74 61 6e | 63 65 29 2e 20 0a 25 20 |% instan|ce). .% |
|000005c0| 4e 6f 77 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |Now make| sure th|
|000005d0| 61 74 20 79 6f 75 72 20 | 70 72 69 6e 74 65 72 20 |at your |printer |
|000005e0| 64 72 69 76 65 72 20 70 | 72 69 6e 74 73 20 74 68 |driver p|rints th|
|000005f0| 65 20 70 61 67 65 0a 25 | 20 7b 5c 65 6d 20 65 78 |e page.%| {\em ex|
|00000600| 61 63 74 6c 79 7d 20 61 | 73 20 69 74 20 73 68 6f |actly} a|s it sho|
|00000610| 75 6c 64 20 69 6e 20 76 | 61 6e 69 6c 6c 61 20 5c |uld in v|anilla \|
|00000620| 54 65 58 2c 20 69 65 20 | 77 69 74 68 20 74 68 65 |TeX, ie |with the|
|00000630| 20 6f 72 69 67 69 6e 20 | 6f 66 0a 25 20 74 68 65 | origin |of.% the|
|00000640| 20 70 61 67 65 20 64 6f | 77 6e 20 31 69 6e 20 61 | page do|wn 1in a|
|00000650| 6e 64 20 72 69 67 68 74 | 20 31 69 6e 20 66 72 6f |nd right| 1in fro|
|00000660| 6d 20 74 68 65 20 74 6f | 70 20 6c 65 66 74 20 68 |m the to|p left h|
|00000670| 61 6e 64 20 63 6f 72 6e | 65 72 20 6f 66 20 74 68 |and corn|er of th|
|00000680| 65 0a 25 20 70 61 70 65 | 72 2e 20 49 66 20 69 74 |e.% pape|r. If it|
|00000690| 20 64 6f 65 73 6e 27 74 | 2c 20 61 64 6a 75 73 74 | doesn't|, adjust|
|000006a0| 20 79 6f 75 72 20 64 72 | 69 76 65 72 20 70 61 72 | your dr|iver par|
|000006b0| 61 6d 65 74 65 72 73 2c | 20 6f 72 20 65 64 69 74 |ameters,| or edit|
|000006c0| 20 74 68 65 0a 25 20 73 | 65 74 74 69 6e 67 73 20 | the.% s|ettings |
|000006d0| 62 65 6c 6f 77 20 77 68 | 65 72 65 20 49 20 74 61 |below wh|ere I ta|
|000006e0| 6b 65 20 31 69 6e 20 6f | 66 66 20 74 68 65 20 6d |ke 1in o|ff the m|
|000006f0| 61 72 67 69 6e 73 2e 20 | 54 68 65 20 6d 6f 73 74 |argins. |The most|
|00000700| 20 6c 69 6b 65 6c 79 0a | 25 20 70 72 6f 62 6c 65 | likely.|% proble|
|00000710| 6d 20 77 69 74 68 20 74 | 68 65 73 65 20 6d 61 63 |m with t|hese mac|
|00000720| 72 6f 73 20 69 73 20 74 | 68 61 74 20 79 6f 75 20 |ros is t|hat you |
|00000730| 77 69 6c 6c 20 68 61 76 | 65 20 63 6f 6e 74 65 6e |will hav|e conten|
|00000740| 74 73 20 77 68 69 63 68 | 20 61 72 65 0a 25 20 71 |ts which| are.% q|
|00000750| 75 69 74 65 20 77 69 64 | 65 2c 20 61 6e 64 20 77 |uite wid|e, and w|
|00000760| 68 69 63 68 20 74 68 65 | 72 65 66 6f 72 65 20 6e |hich the|refore n|
|00000770| 65 65 64 20 74 6f 20 75 | 73 65 20 74 68 65 20 76 |eed to u|se the v|
|00000780| 65 72 79 20 65 64 67 65 | 73 20 6f 66 20 74 68 65 |ery edge|s of the|
|00000790| 0a 25 20 70 61 70 65 72 | 2c 20 6f 6e 20 77 68 69 |.% paper|, on whi|
|000007a0| 63 68 20 79 6f 75 72 20 | 70 72 69 6e 74 65 72 20 |ch your |printer |
|000007b0| 6d 61 79 20 6e 6f 74 20 | 77 72 69 74 65 20 63 6f |may not |write co|
|000007c0| 72 72 65 63 74 6c 79 2e | 20 4c 69 74 74 6c 65 20 |rrectly.| Little |
|000007d0| 6f 6e 65 20 63 61 6e 0a | 25 20 64 6f 20 61 62 6f |one can.|% do abo|
|000007e0| 75 74 20 74 68 69 73 20 | 2d 2d 2d 20 75 73 65 20 |ut this |--- use |
|000007f0| 61 20 73 6d 61 6c 6c 20 | 70 6f 69 6e 74 20 73 69 |a small |point si|
|00000800| 7a 65 2e 0a 25 0a 25 20 | 54 68 65 20 73 69 6d 70 |ze..%.% |The simp|
|00000810| 6c 65 73 74 20 66 6f 72 | 6d 20 6f 66 20 69 6e 70 |lest for|m of inp|
|00000820| 75 74 20 69 73 20 76 65 | 72 79 0a 25 20 65 61 73 |ut is ve|ry.% eas|
|00000830| 79 2c 20 61 73 20 69 6e | 20 74 68 65 20 66 6f 6c |y, as in| the fol|
|00000840| 6c 6f 77 69 6e 67 20 65 | 78 61 6d 70 6c 65 3a 0a |lowing e|xample:.|
|00000850| 25 20 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |% \begin|{verbati|
|00000860| 6d 7d 0a 25 20 20 20 5c | 64 6f 63 75 6d 65 6e 74 |m}.% \|document|
|00000870| 73 74 79 6c 65 7b 6c 61 | 62 65 6c 73 7d 0a 25 20 |style{la|bels}.% |
|00000880| 20 20 5c 62 65 67 69 6e | 7b 64 6f 63 75 6d 65 6e | \begin|{documen|
|00000890| 74 7d 0a 25 20 20 20 5c | 62 65 67 69 6e 7b 6c 61 |t}.% \|begin{la|
|000008a0| 62 65 6c 73 7d 0a 25 20 | 20 20 5c 69 6e 70 75 74 |bels}.% | \input|
|000008b0| 20 6e 61 6d 65 73 2e 64 | 61 74 0a 25 20 20 20 5c | names.d|at.% \|
|000008c0| 65 6e 64 7b 6c 61 62 65 | 6c 73 7d 0a 25 20 20 20 |end{labe|ls}.% |
|000008d0| 5c 65 6e 64 7b 64 6f 63 | 75 6d 65 6e 74 7d 0a 25 |\end{doc|ument}.%|
|000008e0| 20 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a | \end{ve|rbatim}.|
|000008f0| 25 20 77 68 65 72 65 20 | 7b 5c 74 74 66 61 6d 69 |% where |{\ttfami|
|00000900| 6c 79 20 6e 61 6d 65 73 | 2e 64 61 74 7d 20 63 6f |ly names|.dat} co|
|00000910| 6e 74 61 69 6e 73 20 6e | 61 6d 65 73 20 61 6e 64 |ntains n|ames and|
|00000920| 20 61 64 64 72 65 73 73 | 20 69 6e 20 70 6c 61 69 | address| in plai|
|00000930| 6e 20 66 6f 72 6d 61 74 | 20 0a 25 20 77 69 74 68 |n format| .% with|
|00000940| 20 73 69 6d 70 6c 79 20 | 61 20 62 6c 61 6e 6b 20 | simply |a blank |
|00000950| 6c 69 6e 65 20 62 65 74 | 77 65 65 6e 20 65 6e 74 |line bet|ween ent|
|00000960| 72 69 65 73 2e 20 20 59 | 6f 75 20 63 61 6e 2c 20 |ries. Y|ou can, |
|00000970| 6f 66 20 63 6f 75 72 73 | 65 2c 20 6a 75 73 74 0a |of cours|e, just.|
|00000980| 25 20 68 61 76 65 20 20 | 74 68 65 20 6e 61 6d 65 |% have |the name|
|00000990| 73 20 61 6e 64 20 61 64 | 64 72 65 73 73 65 73 20 |s and ad|dresses |
|000009a0| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 66 69 6c 65 |in the m|ain file|
|000009b0| 2c 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 75 73 |, rather| than us|
|000009c0| 69 6e 67 0a 25 20 5c 76 | 65 72 62 7c 5c 69 6e 70 |ing.% \v|erb|\inp|
|000009d0| 75 74 7c 20 74 6f 20 69 | 6e 63 6c 75 64 65 20 74 |ut| to i|nclude t|
|000009e0| 68 65 6d 2e 20 49 66 20 | 74 68 65 20 66 69 6c 65 |hem. If |the file|
|000009f0| 20 65 6e 64 73 20 69 6e | 20 62 6c 61 6e 6b 20 6c | ends in| blank l|
|00000a00| 69 6e 65 73 2c 20 0a 25 | 20 65 78 70 65 63 74 20 |ines, .%| expect |
|00000a10| 70 72 6f 62 6c 65 6d 73 | 20 2d 2d 2d 20 73 6f 72 |problems| --- sor|
|00000a20| 72 79 21 20 55 73 65 20 | 79 6f 75 72 20 65 64 69 |ry! Use |your edi|
|00000a30| 74 6f 72 5c 6c 64 6f 74 | 73 0a 25 20 0a 25 20 42 |tor\ldot|s.% .% B|
|00000a40| 75 74 20 74 68 65 72 65 | 20 61 72 65 20 61 6c 73 |ut there| are als|
|00000a50| 6f 20 6f 74 68 65 72 20 | 77 61 79 73 20 6f 66 66 |o other |ways off|
|00000a60| 20 61 63 63 65 73 73 69 | 6e 67 20 74 68 65 20 73 | accessi|ng the s|
|00000a70| 61 6d 65 20 73 79 73 74 | 65 6d 3a 0a 25 20 5c 62 |ame syst|em:.% \b|
|00000a80| 65 67 69 6e 7b 65 6e 75 | 6d 65 72 61 74 65 7d 0a |egin{enu|merate}.|
|00000a90| 25 20 5c 69 74 65 6d 20 | 62 79 20 68 61 76 69 6e |% \item |by havin|
|00000aa0| 67 20 65 6e 74 72 69 65 | 73 20 6c 69 6b 65 20 74 |g entrie|s like t|
|00000ab0| 68 69 73 3a 0a 25 20 20 | 20 5c 62 65 67 69 6e 7b |his:.% | \begin{|
|00000ac0| 76 65 72 62 61 74 69 6d | 7d 0a 25 20 20 20 20 20 |verbatim|}.% |
|00000ad0| 20 5c 61 64 64 72 65 73 | 73 6c 61 62 65 6c 7b 6d | \addres|slabel{m|
|00000ae0| 65 5c 5c 0a 25 20 20 20 | 20 20 20 68 65 72 65 20 |e\\.% | here |
|00000af0| 61 6e 64 20 74 68 65 72 | 65 5c 5c 0a 25 20 20 20 |and ther|e\\.% |
|00000b00| 20 20 20 65 6e 67 6c 61 | 6e 64 5c 5c 0a 25 20 20 | engla|nd\\.% |
|00000b10| 20 20 20 20 7d 0a 25 20 | 20 20 5c 65 6e 64 7b 76 | }.% | \end{v|
|00000b20| 65 72 62 61 74 69 6d 7d | 0a 25 20 7b 5c 65 6d 20 |erbatim}|.% {\em |
|00000b30| 77 69 74 68 6f 75 74 7d | 20 74 68 65 20 7b 5c 74 |without}| the {\t|
|00000b40| 74 66 61 6d 69 6c 79 20 | 6c 61 62 65 6c 73 7d 20 |tfamily |labels} |
|00000b50| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0a 25 20 5c |environm|ent..% \|
|00000b60| 69 74 65 6d 20 69 66 20 | 79 6f 75 20 68 61 76 65 |item if |you have|
|00000b70| 20 6c 61 62 65 6c 73 20 | 69 6e 20 74 68 65 20 73 | labels |in the s|
|00000b80| 69 6d 70 6c 65 20 66 6f | 72 6d 61 74 20 69 6e 20 |imple fo|rmat in |
|00000b90| 61 20 66 69 6c 65 2c 0a | 25 20 20 20 20 6a 75 73 |a file,.|% jus|
|00000ba0| 74 20 77 72 69 74 65 20 | 20 61 20 7b 5c 74 74 66 |t write | a {\ttf|
|00000bb0| 61 6d 69 6c 79 20 2e 74 | 65 78 7d 20 66 69 6c 65 |amily .t|ex} file|
|00000bc0| 20 6c 69 6b 65 20 74 68 | 69 73 3a 0a 25 20 20 5c | like th|is:.% \|
|00000bd0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00000be0| 25 20 20 20 20 5c 64 6f | 63 75 6d 65 6e 74 73 74 |% \do|cumentst|
|00000bf0| 79 6c 65 7b 6c 61 62 65 | 6c 73 7d 0a 25 20 20 20 |yle{labe|ls}.% |
|00000c00| 20 5c 62 65 67 69 6e 7b | 64 6f 63 75 6d 65 6e 74 | \begin{|document|
|00000c10| 7d 0a 25 20 20 20 20 5c | 6c 61 62 65 6c 66 69 6c |}.% \|labelfil|
|00000c20| 65 7b 66 69 6c 65 6e 61 | 6d 65 7d 0a 25 20 20 20 |e{filena|me}.% |
|00000c30| 20 5c 65 6e 64 7b 64 6f | 63 75 6d 65 6e 74 7d 0a | \end{do|cument}.|
|00000c40| 25 20 20 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |% \end{|verbatim|
|00000c50| 7d 0a 25 20 61 6e 64 20 | 61 6c 6c 20 77 69 6c 6c |}.% and |all will|
|00000c60| 20 62 65 20 64 6f 6e 65 | 20 66 6f 72 20 79 6f 75 | be done| for you|
|00000c70| 2e 0a 25 20 5c 69 74 65 | 6d 20 69 66 20 79 6f 75 |..% \ite|m if you|
|00000c80| 20 77 61 6e 74 20 74 6f | 20 7b 5c 65 6d 20 64 75 | want to| {\em du|
|00000c90| 70 6c 69 63 61 74 65 7d | 20 74 68 65 20 6c 61 62 |plicate}| the lab|
|00000ca0| 65 6c 2c 20 74 68 65 72 | 65 20 69 73 20 61 20 63 |el, ther|e is a c|
|00000cb0| 6f 75 6e 74 65 72 20 63 | 61 6c 6c 65 64 0a 25 20 |ounter c|alled.% |
|00000cc0| 5c 76 65 72 62 7c 5c 6e | 75 6d 62 65 72 6f 66 6c |\verb|\n|umberofl|
|00000cd0| 61 62 65 6c 73 7c 20 77 | 68 69 63 68 20 79 6f 75 |abels| w|hich you|
|00000ce0| 20 63 61 6e 20 73 65 74 | 2c 20 73 6f 0a 25 20 5c | can set|, so.% \|
|00000cf0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00000d00| 25 20 20 20 5c 6e 75 6d | 62 65 72 6f 66 6c 61 62 |% \num|beroflab|
|00000d10| 65 6c 73 3d 34 0a 25 20 | 20 20 5c 61 64 64 72 65 |els=4.% | \addre|
|00000d20| 73 73 6c 61 62 65 6c 7b | 4d 65 20 5c 5c 6d 79 20 |sslabel{|Me \\my |
|00000d30| 73 74 72 65 65 74 20 5c | 5c 20 6d 79 74 6f 77 6e |street \|\ mytown|
|00000d40| 20 5c 5c 20 45 6e 67 6c | 61 6e 64 7d 0a 25 20 5c | \\ Engl|and}.% \|
|00000d50| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 25 20 |end{verb|atim}.% |
|00000d60| 77 69 6c 6c 20 70 72 69 | 6e 74 20 74 68 65 20 61 |will pri|nt the a|
|00000d70| 64 64 72 65 73 73 20 34 | 20 74 69 6d 65 73 20 69 |ddress 4| times i|
|00000d80| 6e 20 61 20 72 6f 77 0a | 25 20 5c 69 74 65 6d 20 |n a row.|% \item |
|00000d90| 46 6f 72 20 6d 6f 72 65 | 20 73 6f 70 68 69 73 74 |For more| sophist|
|00000da0| 69 63 61 74 65 64 20 75 | 73 65 72 73 2c 20 74 68 |icated u|sers, th|
|00000db0| 65 72 65 20 69 73 20 61 | 20 6d 61 63 72 6f 0a 25 |ere is a| macro.%|
|00000dc0| 20 5c 76 65 72 62 7c 5c | 67 65 6e 65 72 69 63 6c | \verb|\|genericl|
|00000dd0| 61 62 65 6c 7c 20 77 68 | 69 63 68 20 79 6f 75 20 |abel| wh|ich you |
|00000de0| 63 61 6e 20 63 61 6c 6c | 2c 0a 25 20 77 69 74 68 |can call|,.% with|
|00000df0| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 20 6f 66 20 | an argu|ment of |
|00000e00| 77 68 61 74 65 76 65 72 | 20 79 6f 75 20 77 61 6e |whatever| you wan|
|00000e10| 74 20 74 6f 20 61 70 70 | 65 61 72 20 6f 6e 20 74 |t to app|ear on t|
|00000e20| 68 65 20 6c 61 62 65 6c | 20 28 65 67 20 66 6f 72 |he label| (eg for|
|00000e30| 0a 25 20 64 69 73 6b 20 | 6c 61 62 65 6c 73 20 65 |.% disk |labels e|
|00000e40| 74 63 29 2e 20 54 68 75 | 73 20 79 6f 75 20 63 6f |tc). Thu|s you co|
|00000e50| 75 6c 64 20 68 61 76 65 | 0a 25 20 20 20 5c 62 65 |uld have|.% \be|
|00000e60| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 25 20 |gin{verb|atim}.% |
|00000e70| 20 20 5c 67 65 6e 65 72 | 69 63 6c 61 62 65 6c 7b | \gener|iclabel{|
|00000e80| 25 0a 25 20 20 20 5c 62 | 65 67 69 6e 7b 74 61 62 |%.% \b|egin{tab|
|00000e90| 75 6c 61 72 7d 7b 63 7d | 0a 25 20 20 20 5c 68 6c |ular}{c}|.% \hl|
|00000ea0| 69 6e 65 0a 25 20 20 20 | 4d 79 20 41 6d 61 7a 69 |ine.% |My Amazi|
|00000eb0| 6e 67 20 50 72 6f 67 72 | 61 6d 5c 5c 0a 25 20 20 |ng Progr|am\\.% |
|00000ec0| 20 5c 68 6c 69 6e 65 0a | 25 20 20 20 44 69 73 6b | \hline.|% Disk|
|00000ed0| 20 31 20 6f 66 20 31 0a | 25 20 20 20 5c 68 6c 69 | 1 of 1.|% \hli|
|00000ee0| 6e 65 0a 25 20 20 20 5c | 65 6d 20 57 65 20 61 69 |ne.% \|em We ai|
|00000ef0| 6d 20 74 6f 20 73 65 72 | 76 65 5c 5c 0a 25 20 20 |m to ser|ve\\.% |
|00000f00| 20 5c 65 6e 64 7b 74 61 | 62 75 6c 61 72 7d 0a 25 | \end{ta|bular}.%|
|00000f10| 20 20 20 7d 0a 25 20 20 | 20 5c 65 6e 64 7b 76 65 | }.% | \end{ve|
|00000f20| 72 62 61 74 69 6d 7d 0a | 25 74 6f 20 70 72 6f 64 |rbatim}.|%to prod|
|00000f30| 75 63 65 20 61 20 6c 61 | 62 65 6c 20 6c 69 6b 65 |uce a la|bel like|
|00000f40| 20 74 68 69 73 3a 0a 25 | 5c 62 65 67 69 6e 7b 76 | this:.%|\begin{v|
|00000f50| 65 72 62 61 74 69 6d 7d | 0a 25 7c 2d 2d 2d 2d 2d |erbatim}|.%|-----|
|00000f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 7c 0a 25 |--------|-----|.%|
|00000f70| 7c 4d 79 20 41 6d 61 7a | 69 6e 67 20 50 72 6f 67 ||My Amaz|ing Prog|
|00000f80| 72 61 6d 7c 0a 25 7c 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ram|.%|-|--------|
|00000f90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 7c 0a 25 7c 44 69 73 |--------|-|.%|Dis|
|00000fa0| 6b 20 31 20 6f 66 20 31 | 20 20 20 20 20 20 20 7c |k 1 of 1| ||
|00000fb0| 0a 25 7c 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.%|-----|--------|
|00000fc0| 2d 2d 2d 2d 2d 7c 0a 25 | 7c 57 65 20 61 69 6d 20 |-----|.%||We aim |
|00000fd0| 74 6f 20 73 65 72 76 65 | 20 20 20 7c 0a 25 5c 65 |to serve| |.%\e|
|00000fe0| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 20 5c |nd{verba|tim}.% \|
|00000ff0| 65 6e 64 7b 65 6e 75 6d | 65 72 61 74 65 7d 0a 25 |end{enum|erate}.%|
|00001000| 20 49 6e 20 61 6c 6c 20 | 6d 6f 64 65 73 2c 20 79 | In all |modes, y|
|00001010| 6f 75 20 63 61 6e 20 6f | 70 74 20 66 6f 72 20 61 |ou can o|pt for a|
|00001020| 20 66 72 61 6d 65 20 61 | 72 6f 75 6e 64 20 65 61 | frame a|round ea|
|00001030| 63 68 20 6c 61 62 65 6c | 20 62 79 20 73 65 74 74 |ch label| by sett|
|00001040| 69 6e 67 20 61 0a 25 20 | 42 6f 6f 6c 65 61 6e 20 |ing a.% |Boolean |
|00001050| 76 61 72 69 61 62 6c 65 | 20 63 61 6c 6c 65 64 20 |variable| called |
|00001060| 60 66 72 61 6d 65 64 6c | 61 62 65 6c 73 27 20 65 |`framedl|abels' e|
|00001070| 67 0a 25 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |g.%\begi|n{verbat|
|00001080| 69 6d 7d 0a 25 20 5c 66 | 72 61 6d 65 64 6c 61 62 |im}.% \f|ramedlab|
|00001090| 65 6c 73 74 72 75 65 0a | 25 5c 65 6e 64 7b 76 65 |elstrue.|%\end{ve|
|000010a0| 72 62 61 74 69 6d 7d 0a | 25 42 79 20 64 65 66 61 |rbatim}.|%By defa|
|000010b0| 75 6c 74 20 79 6f 75 20 | 67 65 74 20 6e 6f 20 66 |ult you |get no f|
|000010c0| 72 61 6d 65 73 20 2d 2d | 2d 20 20 49 20 61 6d 20 |rames --|- I am |
|000010d0| 6e 6f 74 20 73 75 72 65 | 20 77 68 65 6e 20 79 6f |not sure| when yo|
|000010e0| 75 20 7b 5c 65 6d 20 77 | 6f 75 6c 64 7d 0a 25 77 |u {\em w|ould}.%w|
|000010f0| 61 6e 74 20 66 72 61 6d | 65 73 2c 20 62 75 74 20 |ant fram|es, but |
|00001100| 77 68 6f 20 6b 6e 6f 77 | 73 2e 20 0a 25 20 5c 53 |who know|s. .% \S|
|00001110| 74 6f 70 45 76 65 6e 74 | 75 61 6c 6c 79 0a 25 20 |topEvent|ually.% |
|00001120| 5c 73 65 63 74 69 6f 6e | 7b 54 68 65 20 75 74 69 |\section|{The uti|
|00001130| 6c 69 74 79 20 6d 61 63 | 72 6f 73 7d 0a 25 20 46 |lity mac|ros}.% F|
|00001140| 69 72 73 74 20 6f 66 20 | 61 6c 6c 2c 20 69 64 65 |irst of |all, ide|
|00001150| 6e 74 69 66 79 20 77 68 | 61 74 20 69 73 20 68 61 |ntify wh|at is ha|
|00001160| 70 70 65 6e 69 6e 67 2e | 0a 25 3c 2a 63 6c 61 73 |ppening.|.%<*clas|
|00001170| 73 3e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |s>.% |\begin{m|
|00001180| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 50 72 6f 76 69 |acrocode|}.\Provi|
|00001190| 64 65 73 43 6c 61 73 73 | 7b 6c 61 62 65 6c 73 7d |desClass|{labels}|
|000011a0| 5b 5c 66 69 6c 65 64 61 | 74 65 5c 73 70 61 63 65 |[\fileda|te\space|
|000011b0| 5c 66 69 6c 65 76 65 72 | 73 69 6f 6e 5d 0a 25 20 |\filever|sion].% |
|000011c0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000011d0| 65 7d 0a 25 20 4e 6f 77 | 20 74 61 6b 65 20 61 20 |e}.% Now| take a |
|000011e0| 63 6f 70 79 20 61 6c 6c | 20 6f 66 20 60 61 72 74 |copy all| of `art|
|000011f0| 69 63 6c 65 27 20 73 74 | 79 6c 65 20 74 6f 20 73 |icle' st|yle to s|
|00001200| 74 61 72 74 20 77 69 74 | 68 2c 20 6a 75 73 74 20 |tart wit|h, just |
|00001210| 69 6e 20 20 63 61 73 65 | 0a 25 20 61 6e 79 20 6f |in case|.% any o|
|00001220| 66 20 69 74 20 69 73 20 | 6e 65 65 64 65 64 20 28 |f it is |needed (|
|00001230| 70 72 6f 62 61 62 6c 79 | 20 6e 6f 74 2c 20 62 75 |probably| not, bu|
|00001240| 74 20 79 6f 75 20 6e 65 | 76 65 72 20 6b 6e 6f 77 |t you ne|ver know|
|00001250| 29 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |)..% |\begin{m|
|00001260| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 4c 6f 61 64 43 |acrocode|}.\LoadC|
|00001270| 6c 61 73 73 7b 61 72 74 | 69 63 6c 65 7d 0a 25 20 |lass{art|icle}.% |
|00001280| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00001290| 65 7d 0a 25 20 57 65 20 | 77 69 6c 6c 20 62 65 20 |e}.% We |will be |
|000012a0| 72 65 63 6f 72 64 69 6e | 67 20 74 68 65 20 73 69 |recordin|g the si|
|000012b0| 7a 65 20 6f 66 20 61 20 | 6c 61 62 65 6c 2c 20 61 |ze of a |label, a|
|000012c0| 6e 64 20 74 68 65 20 64 | 69 6d 65 6e 73 69 6f 6e |nd the d|imension|
|000012d0| 73 20 6f 66 20 74 68 65 | 0a 25 20 67 72 69 64 2c |s of the|.% grid,|
|000012e0| 20 73 6f 20 73 65 74 20 | 75 70 20 76 61 72 69 61 | so set |up varia|
|000012f0| 62 6c 65 73 20 61 63 63 | 6f 72 64 69 6e 67 6c 79 |bles acc|ordingly|
|00001300| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00001310| 63 72 6f 63 6f 64 65 7d | 0a 5c 6e 65 77 64 69 6d |crocode}|.\newdim|
|00001320| 65 6e 5c 6c 61 62 65 6c | 40 77 69 64 74 68 0a 5c |en\label|@width.\|
|00001330| 6e 65 77 64 69 6d 65 6e | 5c 6c 61 62 65 6c 40 68 |newdimen|\label@h|
|00001340| 65 69 67 68 74 0a 5c 6e | 65 77 63 6f 75 6e 74 5c |eight.\n|ewcount\|
|00001350| 4c 61 62 65 6c 43 6f 6c | 73 0a 5c 6e 65 77 63 6f |LabelCol|s.\newco|
|00001360| 75 6e 74 5c 4c 61 62 65 | 6c 52 6f 77 73 0a 5c 6e |unt\Labe|lRows.\n|
|00001370| 65 77 64 69 6d 65 6e 5c | 6c 65 66 74 40 62 6f 72 |ewdimen\|left@bor|
|00001380| 64 65 72 0a 5c 6e 65 77 | 64 69 6d 65 6e 5c 74 6f |der.\new|dimen\to|
|00001390| 70 40 62 6f 72 64 65 72 | 0a 5c 6e 65 77 64 69 6d |p@border|.\newdim|
|000013a0| 65 6e 5c 68 61 6c 66 40 | 6c 61 62 65 6c 0a 5c 6e |en\half@|label.\n|
|000013b0| 65 77 64 69 6d 65 6e 5c | 61 72 65 61 40 77 69 64 |ewdimen\|area@wid|
|000013c0| 74 68 0a 5c 6e 65 77 73 | 61 76 65 62 6f 78 7b 5c |th.\news|avebox{\|
|000013d0| 74 68 69 73 40 6c 61 62 | 65 6c 7d 0a 5c 6e 65 77 |this@lab|el}.\new|
|000013e0| 63 6f 75 6e 74 5c 6c 61 | 62 65 6c 40 6e 75 6d 62 |count\la|bel@numb|
|000013f0| 65 72 0a 5c 6e 65 77 63 | 6f 75 6e 74 5c 6e 75 6d |er.\newc|ount\num|
|00001400| 62 65 72 6f 66 6c 61 62 | 65 6c 73 0a 5c 6e 65 77 |beroflab|els.\new|
|00001410| 63 6f 75 6e 74 5c 73 6b | 69 70 40 6c 61 62 65 6c |count\sk|ip@label|
|00001420| 73 0a 5c 6e 65 77 63 6f | 75 6e 74 5c 6c 40 73 6f |s.\newco|unt\l@so|
|00001430| 40 66 61 72 0a 5c 6e 65 | 77 69 66 5c 69 66 66 72 |@far.\ne|wif\iffr|
|00001440| 61 6d 65 64 6c 61 62 65 | 6c 73 0a 5c 6e 65 77 69 |amedlabe|ls.\newi|
|00001450| 66 5c 69 66 66 69 72 73 | 74 40 6c 61 62 65 6c 0a |f\iffirs|t@label.|
|00001460| 5c 66 69 72 73 74 40 6c | 61 62 65 6c 74 72 75 65 |\first@l|abeltrue|
|00001470| 0a 5c 66 72 61 6d 65 64 | 6c 61 62 65 6c 73 66 61 |.\framed|labelsfa|
|00001480| 6c 73 65 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |lse.% | \end{ma|
|00001490| 63 72 6f 63 6f 64 65 7d | 0a 25 20 54 68 65 20 75 |crocode}|.% The u|
|000014a0| 73 65 72 20 77 69 6c 6c | 20 70 72 6f 62 61 62 6c |ser will| probabl|
|000014b0| 79 20 6e 65 65 64 20 74 | 6f 20 63 68 61 6e 67 65 |y need t|o change|
|000014c0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 76 | the fol|lowing v|
|000014d0| 61 6c 75 65 73 20 74 6f | 0a 25 20 72 65 66 6c 65 |alues to|.% refle|
|000014e0| 63 74 20 74 68 65 20 73 | 74 79 6c 65 20 6f 66 20 |ct the s|tyle of |
|000014f0| 6c 61 62 65 6c 73 20 69 | 6e 20 75 73 65 2e 0a 25 |labels i|n use..%|
|00001500| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001510| 63 6f 64 65 7d 0a 5c 4c | 61 62 65 6c 43 6f 6c 73 |code}.\L|abelCols|
|00001520| 3d 33 0a 5c 4c 61 62 65 | 6c 52 6f 77 73 3d 38 0a |=3.\Labe|lRows=8.|
|00001530| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00001540| 6f 64 65 7d 0a 25 20 56 | 61 72 69 61 62 6c 65 73 |ode}.% V|ariables|
|00001550| 20 61 72 65 20 70 72 6f | 76 69 64 65 64 20 74 6f | are pro|vided to|
|00001560| 20 61 6c 6c 6f 77 20 79 | 6f 75 20 74 6f 20 66 6f | allow y|ou to fo|
|00001570| 72 63 65 20 61 20 62 6f | 72 64 65 72 20 6f 6e 20 |rce a bo|rder on |
|00001580| 74 68 65 20 6c 65 66 74 | 20 65 64 67 65 0a 25 20 |the left| edge.% |
|00001590| 6f 66 20 6c 61 62 65 6c | 73 2c 20 69 6e 20 63 61 |of label|s, in ca|
|000015a0| 73 65 20 79 6f 75 20 64 | 6f 20 6e 6f 74 20 77 61 |se you d|o not wa|
|000015b0| 6e 74 20 74 6f 20 70 72 | 69 6e 74 20 72 69 67 68 |nt to pr|int righ|
|000015c0| 74 20 74 6f 20 74 68 65 | 20 65 64 67 65 2c 20 61 |t to the| edge, a|
|000015d0| 6e 64 0a 25 20 61 74 20 | 74 68 65 20 74 6f 70 3b |nd.% at |the top;|
|000015e0| 20 74 68 65 73 65 20 76 | 61 6c 75 65 73 20 77 69 | these v|alues wi|
|000015f0| 6c 6c 20 61 66 66 65 63 | 74 20 65 76 65 72 79 20 |ll affec|t every |
|00001600| 6c 61 62 65 6c 2c 20 6f | 66 20 63 6f 75 72 73 65 |label, o|f course|
|00001610| 2c 20 73 6f 20 79 6f 75 | 0a 25 20 6d 61 79 20 6e |, so you|.% may n|
|00001620| 65 65 64 20 74 6f 20 65 | 78 70 65 72 69 6d 65 6e |eed to e|xperimen|
|00001630| 74 20 74 6f 20 67 65 74 | 20 70 6c 65 61 73 69 6e |t to get| pleasin|
|00001640| 67 20 72 65 73 75 6c 74 | 73 2e 0a 25 20 38 6d 6d |g result|s..% 8mm|
|00001650| 20 69 73 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6d | is the |amount m|
|00001660| 79 20 4c 61 73 65 72 4a | 65 74 49 49 49 20 73 65 |y LaserJ|etIII se|
|00001670| 65 6d 73 20 74 6f 20 69 | 67 6e 6f 72 65 20 6f 6e |ems to i|gnore on|
|00001680| 20 74 68 65 20 6c 65 66 | 74 2e 0a 25 20 20 20 20 | the lef|t..% |
|00001690| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|000016a0| 7d 0a 5c 6c 65 66 74 40 | 62 6f 72 64 65 72 3d 38 |}.\left@|border=8|
|000016b0| 6d 6d 0a 5c 74 6f 70 40 | 62 6f 72 64 65 72 3d 34 |mm.\top@|border=4|
|000016c0| 6d 6d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |mm.% |\end{mac|
|000016d0| 72 6f 63 6f 64 65 7d 0a | 25 20 57 65 20 6e 65 65 |rocode}.|% We nee|
|000016e0| 64 20 74 6f 20 72 65 73 | 65 74 20 61 6c 6c 20 74 |d to res|et all t|
|000016f0| 68 65 20 64 69 6d 65 6e | 73 69 6f 6e 73 20 61 70 |he dimen|sions ap|
|00001700| 70 72 6f 70 72 69 61 74 | 65 6c 79 20 66 6f 72 20 |propriat|ely for |
|00001710| 61 6e 20 41 34 20 70 61 | 67 65 20 6f 66 20 6c 61 |an A4 pa|ge of la|
|00001720| 62 65 6c 73 2c 0a 25 20 | 61 6e 64 20 74 68 65 20 |bels,.% |and the |
|00001730| 70 72 69 6e 74 65 72 20 | 77 69 6c 6c 20 6e 65 65 |printer |will nee|
|00001740| 64 20 74 6f 20 6b 6e 6f | 77 20 61 62 6f 75 74 20 |d to kno|w about |
|00001750| 41 34 20 61 73 20 77 65 | 6c 6c 2e 20 4f 62 76 69 |A4 as we|ll. Obvi|
|00001760| 6f 75 73 6c 79 20 69 66 | 20 79 6f 75 0a 25 20 75 |ously if| you.% u|
|00001770| 73 65 20 61 20 64 69 66 | 66 65 72 65 6e 74 20 70 |se a dif|ferent p|
|00001780| 61 67 65 20 73 69 7a 65 | 2c 20 79 6f 75 20 77 69 |age size|, you wi|
|00001790| 6c 6c 20 6e 65 65 64 20 | 74 6f 20 61 6c 74 65 72 |ll need |to alter|
|000017a0| 20 74 68 69 6e 67 73 20 | 68 65 72 65 2e 0a 25 20 | things |here..% |
|000017b0| 53 6f 6d 65 20 6f 66 20 | 74 68 65 73 65 20 63 68 |Some of |these ch|
|000017c0| 61 6e 67 65 73 20 6d 61 | 79 20 62 65 20 70 72 69 |anges ma|y be pri|
|000017d0| 6e 74 65 72 20 64 65 70 | 65 6e 64 65 6e 74 2e 0a |nter dep|endent..|
|000017e0| 25 20 54 68 69 73 20 73 | 68 6f 75 6c 64 20 61 6c |% This s|hould al|
|000017f0| 6c 20 6d 65 61 6e 20 77 | 65 20 61 72 65 20 61 63 |l mean w|e are ac|
|00001800| 74 75 61 6c 6c 79 20 64 | 65 61 6c 69 6e 67 20 77 |tually d|ealing w|
|00001810| 69 74 68 20 74 68 65 20 | 77 68 6f 6c 65 20 62 69 |ith the |whole bi|
|00001820| 74 20 6f 66 20 70 61 70 | 65 72 2e 0a 25 0a 25 20 |t of pap|er..%.% |
|00001830| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00001840| 6f 64 65 7d 0a 5c 74 65 | 78 74 77 69 64 74 68 3d |ode}.\te|xtwidth=|
|00001850| 32 31 30 6d 6d 0a 5c 74 | 65 78 74 68 65 69 67 68 |210mm.\t|extheigh|
|00001860| 74 3d 32 39 37 6d 6d 0a | 5c 74 6f 70 6d 61 72 67 |t=297mm.|\topmarg|
|00001870| 69 6e 3d 2d 31 69 6e 0a | 5c 68 65 61 64 68 65 69 |in=-1in.|\headhei|
|00001880| 67 68 74 3d 30 65 6d 0a | 5c 68 65 61 64 73 65 70 |ght=0em.|\headsep|
|00001890| 3d 30 65 6d 0a 5c 74 6f | 70 73 6b 69 70 3d 30 65 |=0em.\to|pskip=0e|
|000018a0| 6d 0a 5c 66 6f 6f 74 73 | 6b 69 70 3d 30 65 6d 0a |m.\foots|kip=0em.|
|000018b0| 5c 6f 64 64 73 69 64 65 | 6d 61 72 67 69 6e 3d 2d |\oddside|margin=-|
|000018c0| 31 69 6e 0a 5c 65 76 65 | 6e 73 69 64 65 6d 61 72 |1in.\eve|nsidemar|
|000018d0| 67 69 6e 3d 2d 31 69 6e | 0a 5c 70 61 67 65 73 74 |gin=-1in|.\pagest|
|000018e0| 79 6c 65 7b 65 6d 70 74 | 79 7d 0a 5c 70 61 72 69 |yle{empt|y}.\pari|
|000018f0| 6e 64 65 6e 74 3d 30 65 | 6d 0a 5c 70 61 72 73 6b |ndent=0e|m.\parsk|
|00001900| 69 70 3d 30 70 74 0a 25 | 20 20 20 20 5c 65 6e 64 |ip=0pt.%| \end|
|00001910| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 4e 6f |{macroco|de}.% No|
|00001920| 77 20 63 61 6c 63 75 6c | 61 74 65 20 74 68 65 20 |w calcul|ate the |
|00001930| 73 69 7a 65 20 6f 66 20 | 6c 61 62 65 6c 73 20 73 |size of |labels s|
|00001940| 69 6d 70 6c 79 20 61 73 | 20 61 20 70 72 6f 70 6f |imply as| a propo|
|00001950| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 61 67 |rtion of| the pag|
|00001960| 65 0a 25 20 73 69 7a 65 | 20 28 69 66 20 79 6f 75 |e.% size| (if you|
|00001970| 20 68 61 76 65 6e 27 74 | 20 67 6f 74 20 74 68 61 | haven't| got tha|
|00001980| 74 20 72 69 67 68 74 2c | 20 74 68 69 73 20 77 6f |t right,| this wo|
|00001990| 6e 27 74 20 77 6f 72 6b | 2c 20 77 69 6c 6c 20 69 |n't work|, will i|
|000019a0| 74 3f 29 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |t?)..% | \begin|
|000019b0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|000019c0| 5c 4c 61 62 65 6c 53 65 | 74 75 70 7b 0a 5c 6c 61 |\LabelSe|tup{.\la|
|000019d0| 62 65 6c 40 77 69 64 74 | 68 5c 74 65 78 74 77 69 |bel@widt|h\textwi|
|000019e0| 64 74 68 5c 64 69 76 69 | 64 65 5c 6c 61 62 65 6c |dth\divi|de\label|
|000019f0| 40 77 69 64 74 68 20 62 | 79 5c 4c 61 62 65 6c 43 |@width b|y\LabelC|
|00001a00| 6f 6c 73 0a 5c 6c 61 62 | 65 6c 40 68 65 69 67 68 |ols.\lab|el@heigh|
|00001a10| 74 5c 74 65 78 74 68 65 | 69 67 68 74 5c 64 69 76 |t\texthe|ight\div|
|00001a20| 69 64 65 5c 6c 61 62 65 | 6c 40 68 65 69 67 68 74 |ide\labe|l@height|
|00001a30| 20 62 79 5c 4c 61 62 65 | 6c 52 6f 77 73 0a 5c 74 | by\Labe|lRows.\t|
|00001a40| 79 70 65 6f 75 74 7b 43 | 72 65 61 74 69 6e 67 20 |ypeout{C|reating |
|00001a50| 6c 61 62 65 6c 73 20 73 | 69 7a 65 64 20 5c 74 68 |labels s|ized \th|
|00001a60| 65 5c 6c 61 62 65 6c 40 | 77 69 64 74 68 5c 73 70 |e\label@|width\sp|
|00001a70| 61 63 65 20 62 79 20 5c | 74 68 65 5c 6c 61 62 65 |ace by \|the\labe|
|00001a80| 6c 40 68 65 69 67 68 74 | 7d 25 0a 5c 6c 61 62 65 |l@height|}%.\labe|
|00001a90| 6c 40 6e 75 6d 62 65 72 | 3d 31 0a 25 20 20 20 20 |l@number|=1.% |
|00001aa0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00001ab0| 25 20 49 74 20 69 73 20 | 6e 6f 74 20 75 73 75 61 |% It is |not usua|
|00001ac0| 6c 6c 79 20 61 64 76 69 | 73 61 62 6c 65 20 74 6f |lly advi|sable to|
|00001ad0| 20 6d 61 6b 65 20 74 68 | 65 20 6c 61 62 65 6c 20 | make th|e label |
|00001ae0| 70 72 69 6e 74 69 6e 67 | 20 67 6f 20 72 69 67 68 |printing| go righ|
|00001af0| 74 20 74 6f 0a 25 20 74 | 68 65 20 65 64 67 65 20 |t to.% t|he edge |
|00001b00| 6f 66 20 74 68 65 20 61 | 76 61 69 6c 61 62 6c 65 |of the a|vailable|
|00001b10| 20 61 72 65 61 2c 20 73 | 6f 20 60 61 72 65 61 40 | area, s|o `area@|
|00001b20| 77 69 64 74 68 27 20 67 | 69 76 65 73 0a 25 20 74 |width' g|ives.% t|
|00001b30| 68 65 20 61 72 65 61 20 | 74 68 61 74 20 77 69 6c |he area |that wil|
|00001b40| 6c 20 61 63 74 75 61 6c | 6c 79 20 62 65 20 75 73 |l actual|ly be us|
|00001b50| 65 64 20 66 6f 72 20 70 | 72 69 6e 74 69 6e 67 3b |ed for p|rinting;|
|00001b60| 20 74 68 65 20 77 69 64 | 74 68 20 69 73 0a 25 20 | the wid|th is.% |
|00001b70| 63 75 74 20 64 6f 77 6e | 20 62 79 20 77 68 61 74 |cut down| by what|
|00001b80| 65 76 65 72 20 77 65 20 | 67 61 76 65 20 61 73 20 |ever we |gave as |
|00001b90| 60 6c 65 66 74 40 62 6f | 72 64 65 72 27 2e 20 49 |`left@bo|rder'. I|
|00001ba0| 74 20 63 61 6e 20 61 6c | 77 61 79 73 20 62 65 20 |t can al|ways be |
|00001bb0| 73 65 74 20 74 6f 20 30 | 0a 25 20 69 66 20 79 6f |set to 0|.% if yo|
|00001bc0| 75 20 68 61 76 65 20 61 | 20 64 65 73 69 67 6e 20 |u have a| design |
|00001bd0| 74 68 61 74 20 75 73 65 | 73 20 74 68 65 20 77 68 |that use|s the wh|
|00001be0| 6f 6c 65 20 6c 61 62 65 | 6c 2e 0a 25 20 20 20 20 |ole labe|l..% |
|00001bf0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00001c00| 7d 0a 5c 61 72 65 61 40 | 77 69 64 74 68 3d 5c 6c |}.\area@|width=\l|
|00001c10| 61 62 65 6c 40 77 69 64 | 74 68 25 0a 5c 61 64 76 |abel@wid|th%.\adv|
|00001c20| 61 6e 63 65 5c 61 72 65 | 61 40 77 69 64 74 68 20 |ance\are|a@width |
|00001c30| 62 79 20 2d 5c 6c 65 66 | 74 40 62 6f 72 64 65 72 |by -\lef|t@border|
|00001c40| 25 0a 5c 68 61 6c 66 40 | 6c 61 62 65 6c 3d 5c 6c |%.\half@|label=\l|
|00001c50| 61 62 65 6c 40 68 65 69 | 67 68 74 5c 64 69 76 69 |abel@hei|ght\divi|
|00001c60| 64 65 5c 68 61 6c 66 40 | 6c 61 62 65 6c 20 62 79 |de\half@|label by|
|00001c70| 20 32 0a 5c 61 64 76 61 | 6e 63 65 5c 68 61 6c 66 | 2.\adva|nce\half|
|00001c80| 40 6c 61 62 65 6c 20 62 | 79 20 2d 5c 74 6f 70 40 |@label b|y -\top@|
|00001c90| 62 6f 72 64 65 72 0a 7d | 0a 5c 4c 61 62 65 6c 53 |border.}|.\LabelS|
|00001ca0| 65 74 75 70 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |etup.% | \end{m|
|00001cb0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 57 65 |acrocode|}.%.% We|
|00001cc0| 20 6d 69 67 68 74 20 77 | 61 6e 74 20 74 6f 20 70 | might w|ant to p|
|00001cd0| 72 69 6e 74 20 74 68 65 | 20 73 61 6d 65 20 6c 61 |rint the| same la|
|00001ce0| 62 65 6c 20 20 73 65 76 | 65 72 61 6c 20 74 69 6d |bel sev|eral tim|
|00001cf0| 65 73 2c 0a 25 20 73 6f | 20 5c 76 65 72 62 7c 5c |es,.% so| \verb|\|
|00001d00| 73 74 69 63 6b 79 40 6c | 61 62 65 6c 7c 20 77 69 |sticky@l|abel| wi|
|00001d10| 6c 6c 20 72 65 70 65 61 | 74 20 5c 76 65 72 62 7c |ll repea|t \verb||
|00001d20| 5c 6d 61 6b 65 40 6c 61 | 62 65 6c 7c 20 61 20 0a |\make@la|bel| a .|
|00001d30| 25 20 73 70 65 63 69 66 | 69 65 64 20 6e 75 6d 62 |% specif|ied numb|
|00001d40| 65 72 20 6f 66 20 74 69 | 6d 65 73 20 28 5c 76 65 |er of ti|mes (\ve|
|00001d50| 72 62 7c 5c 6e 75 6d 62 | 65 72 6f 66 6c 61 62 65 |rb|\numb|eroflabe|
|00001d60| 6c 73 7c 29 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ls|).% | \begin|
|00001d70| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 6e 75 6d |{macroco|de}.\num|
|00001d80| 62 65 72 6f 66 6c 61 62 | 65 6c 73 3d 31 25 0a 25 |beroflab|els=1%.%|
|00001d90| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00001da0| 64 65 7d 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |de}.%.% | \begi|
|00001db0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00001dc0| 66 5c 73 74 69 63 6b 79 | 40 6c 61 62 65 6c 7b 5c |f\sticky|@label{\|
|00001dd0| 6c 40 73 6f 40 66 61 72 | 3d 30 25 0a 5c 6c 6f 6f |l@so@far|=0%.\loo|
|00001de0| 70 5c 69 66 6e 75 6d 5c | 6c 40 73 6f 40 66 61 72 |p\ifnum\|l@so@far|
|00001df0| 3c 5c 6e 75 6d 62 65 72 | 6f 66 6c 61 62 65 6c 73 |<\number|oflabels|
|00001e00| 5c 61 64 76 61 6e 63 65 | 5c 6c 40 73 6f 40 66 61 |\advance|\l@so@fa|
|00001e10| 72 20 62 79 20 31 5c 6d | 61 6b 65 40 6c 61 62 65 |r by 1\m|ake@labe|
|00001e20| 6c 25 0a 5c 72 65 70 65 | 61 74 7d 0a 25 20 20 20 |l%.\repe|at}.% |
|00001e30| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00001e40| 0a 25 0a 25 20 54 68 65 | 20 72 65 61 6c 20 6c 61 |.%.% The| real la|
|00001e50| 62 65 6c 2d 6d 61 6b 69 | 6e 67 20 6d 61 63 72 6f |bel-maki|ng macro|
|00001e60| 2c 20 0a 25 20 77 68 69 | 63 68 20 61 73 73 75 6d |, .% whi|ch assum|
|00001e70| 65 73 20 74 68 65 20 61 | 63 74 75 61 6c 20 74 65 |es the a|ctual te|
|00001e80| 78 74 20 69 73 20 69 6e | 20 61 20 62 6f 78 20 63 |xt is in| a box c|
|00001e90| 61 6c 6c 65 64 20 5c 76 | 65 72 62 7c 5c 74 68 69 |alled \v|erb|\thi|
|00001ea0| 73 40 6c 61 62 65 6c 7c | 2e 0a 25 20 49 74 20 69 |s@label||..% It i|
|00001eb0| 73 20 76 69 74 61 6c 20 | 74 6f 20 6d 61 6b 65 20 |s vital |to make |
|00001ec0| 73 75 72 65 20 73 70 61 | 63 65 73 20 61 72 65 20 |sure spa|ces are |
|00001ed0| 6e 6f 74 20 69 6e 63 6c | 75 64 65 64 20 61 74 20 |not incl|uded at |
|00001ee0| 74 68 65 20 65 6e 64 20 | 6f 66 20 6c 69 6e 65 73 |the end |of lines|
|00001ef0| 20 69 6e 0a 25 20 74 68 | 65 73 65 20 6d 61 63 72 | in.% th|ese macr|
|00001f00| 6f 73 2c 20 6f 72 20 61 | 6c 6c 20 68 65 6c 6c 20 |os, or a|ll hell |
|00001f10| 62 72 65 61 6b 73 20 6c | 6f 6f 73 65 2e 20 0a 25 |breaks l|oose. .%|
|00001f20| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00001f30| 72 6f 63 6f 64 65 7d 0a | 5c 64 65 66 5c 6d 61 6b |rocode}.|\def\mak|
|00001f40| 65 40 6c 61 62 65 6c 7b | 25 0a 5c 69 66 66 72 61 |e@label{|%.\iffra|
|00001f50| 6d 65 64 6c 61 62 65 6c | 73 25 0a 5c 6c 65 74 5c |medlabel|s%.\let\|
|00001f60| 62 6f 78 69 6e 67 40 74 | 79 70 65 5c 66 72 61 6d |boxing@t|ype\fram|
|00001f70| 65 62 6f 78 25 0a 5c 65 | 6c 73 65 25 0a 5c 6c 65 |ebox%.\e|lse%.\le|
|00001f80| 74 5c 62 6f 78 69 6e 67 | 40 74 79 70 65 5c 6d 61 |t\boxing|@type\ma|
|00001f90| 6b 65 62 6f 78 25 0a 5c | 66 69 25 0a 5c 62 6f 78 |kebox%.\|fi%.\box|
|00001fa0| 69 6e 67 40 74 79 70 65 | 5b 5c 6c 61 62 65 6c 40 |ing@type|[\label@|
|00001fb0| 77 69 64 74 68 5d 5b 63 | 5d 7b 25 0a 5c 72 75 6c |width][c|]{%.\rul|
|00001fc0| 65 7b 30 70 74 7d 7b 5c | 6c 61 62 65 6c 40 68 65 |e{0pt}{\|label@he|
|00001fd0| 69 67 68 74 7d 25 20 0a | 25 20 20 20 20 5c 65 6e |ight}% .|% \en|
|00001fe0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 57 |d{macroc|ode}.% W|
|00001ff0| 65 20 73 65 74 20 61 20 | 70 6f 73 69 74 69 6f 6e |e set a |position|
|00002000| 20 74 6f 20 68 61 6c 66 | 2d 77 61 79 20 75 70 20 | to half|-way up |
|00002010| 61 20 73 74 72 75 74 20 | 6f 66 20 74 68 65 20 68 |a strut |of the h|
|00002020| 65 69 67 68 74 20 6f 66 | 20 74 68 65 20 6c 61 62 |eight of| the lab|
|00002030| 65 6c 2c 20 73 6f 0a 25 | 20 66 6f 72 63 69 6e 67 |el, so.%| forcing|
|00002040| 20 74 65 78 74 20 74 6f | 20 62 65 20 74 68 65 20 | text to| be the |
|00002050| 72 69 67 68 74 20 68 65 | 69 67 68 74 20 61 6e 64 |right he|ight and|
|00002060| 20 76 65 72 74 69 63 61 | 6c 6c 79 20 63 65 6e 74 | vertica|lly cent|
|00002070| 72 65 64 2e 20 0a 25 20 | 20 20 20 5c 62 65 67 69 |red. .% | \begi|
|00002080| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 72 61 |n{macroc|ode}.\ra|
|00002090| 69 73 65 62 6f 78 7b 5c | 68 61 6c 66 40 6c 61 62 |isebox{\|half@lab|
|000020a0| 65 6c 7d 5b 30 70 74 5d | 5b 30 70 74 5d 7b 25 0a |el}[0pt]|[0pt]{%.|
|000020b0| 5c 72 75 6c 65 7b 5c 6c | 65 66 74 40 62 6f 72 64 |\rule{\l|eft@bord|
|000020c0| 65 72 7d 7b 30 70 74 7d | 5c 75 73 65 62 6f 78 7b |er}{0pt}|\usebox{|
|000020d0| 5c 74 68 69 73 40 6c 61 | 62 65 6c 7d 7d 7d 25 0a |\this@la|bel}}}%.|
|000020e0| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|000020f0| 6f 64 65 7d 0a 25 20 57 | 65 20 6f 6e 6c 79 20 73 |ode}.% W|e only s|
|00002100| 74 61 72 74 20 61 20 6e | 65 77 20 6c 69 6e 65 20 |tart a n|ew line |
|00002110| 69 66 20 77 65 20 68 61 | 76 65 20 70 72 69 6e 74 |if we ha|ve print|
|00002120| 65 64 20 61 20 72 6f 77 | 20 6f 66 0a 25 20 5c 76 |ed a row| of.% \v|
|00002130| 65 72 62 7c 5c 4c 61 62 | 65 6c 43 6f 6c 73 7c 20 |erb|\Lab|elCols| |
|00002140| 6c 61 62 65 6c 73 0a 25 | 20 20 20 20 5c 62 65 67 |labels.%| \beg|
|00002150| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 69 |in{macro|code}.\i|
|00002160| 66 6e 75 6d 5c 6c 61 62 | 65 6c 40 6e 75 6d 62 65 |fnum\lab|el@numbe|
|00002170| 72 3d 5c 4c 61 62 65 6c | 43 6f 6c 73 25 0a 5c 6d |r=\Label|Cols%.\m|
|00002180| 65 73 73 61 67 65 7b 7c | 7d 25 0a 5c 65 6e 64 67 |essage{||}%.\endg|
|00002190| 72 61 66 5c 6e 6f 69 6e | 74 65 72 6c 69 6e 65 73 |raf\noin|terlines|
|000021a0| 6b 69 70 25 0a 5c 67 6c | 6f 62 61 6c 5c 6c 61 62 |kip%.\gl|obal\lab|
|000021b0| 65 6c 40 6e 75 6d 62 65 | 72 3d 31 5c 65 6c 73 65 |el@numbe|r=1\else|
|000021c0| 5c 67 6c 6f 62 61 6c 5c | 61 64 76 61 6e 63 65 5c |\global\|advance\|
|000021d0| 6c 61 62 65 6c 40 6e 75 | 6d 62 65 72 20 62 79 20 |label@nu|mber by |
|000021e0| 31 5c 66 69 25 0a 7d 25 | 0a 25 20 20 20 20 5c 65 |1\fi%.}%|.% \e|
|000021f0| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00002200| 4e 6f 77 20 73 6f 6d 65 | 20 6d 61 63 72 6f 73 20 |Now some| macros |
|00002210| 74 6f 20 61 6c 6c 6f 77 | 20 60 76 65 72 62 61 74 |to allow| `verbat|
|00002220| 69 6d 27 20 6e 61 6d 65 | 73 20 61 6e 64 20 61 64 |im' name|s and ad|
|00002230| 64 72 65 73 73 65 73 20 | 73 65 70 61 72 61 74 65 |dresses |separate|
|00002240| 64 20 62 79 20 62 6c 61 | 6e 6b 0a 25 20 6c 69 6e |d by bla|nk.% lin|
|00002250| 65 73 2e 20 46 69 72 73 | 74 20 77 65 20 6e 65 65 |es. Firs|t we nee|
|00002260| 64 20 73 6f 6d 65 20 68 | 61 63 6b 65 72 79 20 66 |d some h|ackery f|
|00002270| 72 6f 6d 20 50 68 69 6c | 20 54 61 79 6c 6f 72 20 |rom Phil| Taylor |
|00002280| 74 6f 20 72 65 64 65 66 | 69 6e 65 20 65 6e 64 20 |to redef|ine end |
|00002290| 6f 66 20 6c 69 6e 65 3b | 0a 25 20 64 65 66 69 6e |of line;|.% defin|
|000022a0| 65 20 63 61 72 72 69 61 | 67 65 2d 72 65 74 75 72 |e carria|ge-retur|
|000022b0| 6e 20 74 6f 20 63 68 65 | 63 6b 20 77 68 61 74 20 |n to che|ck what |
|000022c0| 74 68 65 20 6e 65 78 74 | 20 74 6f 6b 65 6e 20 69 |the next| token i|
|000022d0| 73 3b 0a 25 20 69 66 20 | 69 74 73 20 61 6e 6f 74 |s;.% if |its anot|
|000022e0| 68 65 72 20 5c 76 65 72 | 62 7c 5e 4d 7c 20 74 68 |her \ver|b|^M| th|
|000022f0| 65 6e 20 77 65 20 68 61 | 76 65 20 61 20 62 6c 61 |en we ha|ve a bla|
|00002300| 6e 6b 20 6c 69 6e 65 2e | 0a 25 20 20 20 20 5c 62 |nk line.|.% \b|
|00002310| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00002320| 5c 63 61 74 63 6f 64 65 | 20 60 5c 5e 5e 4d 20 3d |\catcode| `\^^M =|
|00002330| 20 5c 61 63 74 69 76 65 | 0a 5c 64 65 66 20 5e 5e | \active|.\def ^^|
|00002340| 4d 7b 5c 66 75 74 75 72 | 65 6c 65 74 5c 6e 65 78 |M{\futur|elet\nex|
|00002350| 74 74 6f 6b 65 6e 5c 69 | 73 69 74 61 70 61 72 7d |ttoken\i|sitapar}|
|00002360| 25 0a 5c 64 65 66 5c 69 | 73 69 74 61 70 61 72 7b |%.\def\i|sitapar{|
|00002370| 5c 69 66 78 5e 5e 4d 5c | 6e 65 78 74 74 6f 6b 65 |\ifx^^M\|nexttoke|
|00002380| 6e 5c 6c 65 74 5c 61 63 | 74 69 6f 6e 3d 5c 6e 65 |n\let\ac|tion=\ne|
|00002390| 77 40 6c 61 62 65 6c 25 | 0a 5c 65 6c 73 65 5c 6c |w@label%|.\else\l|
|000023a0| 65 74 5c 61 63 74 69 6f | 6e 5c 73 74 61 72 74 40 |et\actio|n\start@|
|000023b0| 6e 65 77 6c 69 6e 65 5c | 66 69 5c 61 63 74 69 6f |newline\|fi\actio|
|000023c0| 6e 7d 25 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |n}%.% | \end{ma|
|000023d0| 63 72 6f 63 6f 64 65 7d | 0a 25 20 49 66 20 77 65 |crocode}|.% If we|
|000023e0| 20 68 61 76 65 20 6d 65 | 74 20 61 20 62 6c 61 6e | have me|t a blan|
|000023f0| 6b 20 6c 69 6e 65 2c 20 | 66 69 6e 69 73 68 20 63 |k line, |finish c|
|00002400| 75 72 72 65 6e 74 20 6c | 61 62 65 6c 20 61 6e 64 |urrent l|abel and|
|00002410| 0a 25 20 73 74 61 72 74 | 20 61 20 6e 65 77 20 6f |.% start| a new o|
|00002420| 6e 65 2e 20 73 77 61 6c | 6c 6f 77 20 70 65 6e 64 |ne. swal|low pend|
|00002430| 69 6e 67 20 5c 76 65 72 | 62 7c 5e 4d 7c 2c 20 6f |ing \ver|b|^M|, o|
|00002440| 72 20 77 65 20 77 69 6c | 6c 20 68 61 76 65 0a 25 |r we wil|l have.%|
|00002450| 20 61 20 62 6c 61 6e 6b | 20 6c 69 6e 65 20 61 74 | a blank| line at|
|00002460| 20 74 68 65 20 73 74 61 | 72 74 20 6f 66 20 65 61 | the sta|rt of ea|
|00002470| 63 68 20 6c 61 62 65 6c | 0a 25 20 20 20 20 5c 62 |ch label|.% \b|
|00002480| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00002490| 5c 64 65 66 5c 6e 65 77 | 40 6c 61 62 65 6c 7b 5c |\def\new|@label{\|
|000024a0| 6d 65 73 73 61 67 65 7b | 2b 7d 5c 65 6e 64 40 40 |message{|+}\end@@|
|000024b0| 6c 61 62 65 6c 5c 73 74 | 61 72 74 40 40 6c 61 62 |label\st|art@@lab|
|000024c0| 65 6c 5c 40 67 6f 62 62 | 6c 65 7d 25 0a 25 20 20 |el\@gobb|le}%.% |
|000024d0| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|000024e0| 7d 0a 25 20 4f 74 68 65 | 72 77 69 73 65 20 6a 75 |}.% Othe|rwise ju|
|000024f0| 73 74 20 73 74 61 72 74 | 20 61 20 6e 65 77 20 6c |st start| a new l|
|00002500| 69 6e 65 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |ine.% | \begin{|
|00002510| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 64 65 66 5c |macrocod|e}.\def\|
|00002520| 73 74 61 72 74 40 6e 65 | 77 6c 69 6e 65 7b 5c 65 |start@ne|wline{\e|
|00002530| 78 70 61 6e 64 61 66 74 | 65 72 5c 6e 65 77 6c 69 |xpandaft|er\newli|
|00002540| 6e 65 7d 25 0a 5c 64 65 | 66 5c 73 74 61 72 74 69 |ne}%.\de|f\starti|
|00002550| 6e 67 74 6f 6b 65 6e 7b | 5c 69 66 78 5e 5e 4d 5c |ngtoken{|\ifx^^M\|
|00002560| 66 69 72 73 74 74 6f 6b | 65 6e 5c 6c 65 74 5c 61 |firsttok|en\let\a|
|00002570| 63 74 69 6f 6e 3d 5c 40 | 67 6f 62 62 6c 65 5c 65 |ction=\@|gobble\e|
|00002580| 6c 73 65 25 0a 5c 6c 65 | 74 5c 61 63 74 69 6f 6e |lse%.\le|t\action|
|00002590| 3d 5c 72 65 6c 61 78 5c | 66 69 5c 61 63 74 69 6f |=\relax\|fi\actio|
|000025a0| 6e 7d 25 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |n}%.% | \end{ma|
|000025b0| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 52 65 2d |crocode}|.%.% Re-|
|000025c0| 69 6e 73 74 61 74 65 20 | 74 68 65 20 6f 72 69 67 |instate |the orig|
|000025d0| 69 6e 61 6c 20 63 61 74 | 63 6f 64 65 20 66 6f 72 |inal cat|code for|
|000025e0| 20 63 61 72 72 69 61 67 | 65 2d 72 65 74 75 72 6e | carriag|e-return|
|000025f0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00002600| 72 6f 63 6f 64 65 7d 0a | 5c 63 61 74 63 6f 64 65 |rocode}.|\catcode|
|00002610| 20 60 5c 5e 5e 4d 20 3d | 20 35 5c 72 65 6c 61 78 | `\^^M =| 5\relax|
|00002620| 25 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |%.% \|end{macr|
|00002630| 6f 63 6f 64 65 7d 0a 25 | 20 44 65 66 69 6e 65 20 |ocode}.%| Define |
|00002640| 6d 61 63 72 6f 73 20 74 | 6f 20 63 61 6c 6c 20 61 |macros t|o call a|
|00002650| 74 20 62 65 67 69 6e 6e | 69 6e 67 20 61 6e 64 20 |t beginn|ing and |
|00002660| 65 6e 64 20 6f 66 20 6c | 61 62 65 6c 73 2c 20 74 |end of l|abels, t|
|00002670| 6f 20 73 65 74 0a 25 20 | 74 68 69 6e 67 73 20 75 |o set.% |things u|
|00002680| 70 20 70 72 6f 70 65 72 | 6c 79 2e 0a 25 20 20 20 |p proper|ly..% |
|00002690| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000026a0| 65 7d 0a 5c 64 65 66 5c | 73 74 61 72 74 40 40 6c |e}.\def\|start@@l|
|000026b0| 61 62 65 6c 7b 25 0a 5c | 73 61 76 65 62 6f 78 7b |abel{%.\|savebox{|
|000026c0| 5c 74 68 69 73 40 6c 61 | 62 65 6c 7d 5c 62 67 72 |\this@la|bel}\bgr|
|000026d0| 6f 75 70 5c 72 61 67 67 | 65 64 72 69 67 68 74 25 |oup\ragg|edright%|
|000026e0| 0a 5c 62 65 67 69 6e 7b | 6d 69 6e 69 70 61 67 65 |.\begin{|minipage|
|000026f0| 7d 7b 5c 61 72 65 61 40 | 77 69 64 74 68 7d 25 0a |}{\area@|width}%.|
|00002700| 5c 63 61 74 63 6f 64 65 | 20 60 5c 5e 5e 4d 20 3d |\catcode| `\^^M =|
|00002710| 5c 61 63 74 69 76 65 7d | 25 0a 5c 64 65 66 5c 65 |\active}|%.\def\e|
|00002720| 6e 64 40 40 6c 61 62 65 | 6c 7b 25 0a 5c 65 6e 64 |nd@@labe|l{%.\end|
|00002730| 7b 6d 69 6e 69 70 61 67 | 65 7d 5c 65 67 72 6f 75 |{minipag|e}\egrou|
|00002740| 70 5c 73 74 69 63 6b 79 | 40 6c 61 62 65 6c 7d 25 |p\sticky|@label}%|
|00002750| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00002760| 63 6f 64 65 7d 0a 25 0a | 25 20 5c 73 65 63 74 69 |code}.%.|% \secti|
|00002770| 6f 6e 7b 55 73 65 72 20 | 6d 61 63 72 6f 73 7d 0a |on{User |macros}.|
|00002780| 25 20 54 68 65 20 62 61 | 73 69 63 20 63 61 73 65 |% The ba|sic case|
|00002790| 20 69 73 20 61 20 67 65 | 6e 65 72 69 63 20 6d 61 | is a ge|neric ma|
|000027a0| 63 72 6f 20 77 68 69 63 | 68 20 74 61 6b 65 73 20 |cro whic|h takes |
|000027b0| 69 74 73 20 61 72 67 75 | 6d 65 6e 74 20 61 6e 64 |its argu|ment and|
|000027c0| 20 70 75 74 73 20 0a 25 | 20 69 74 20 6f 75 74 20 | puts .%| it out |
|000027d0| 6f 6e 20 61 20 6c 61 62 | 65 6c 2e 20 0a 25 20 20 |on a lab|el. .% |
|000027e0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|000027f0| 64 65 7d 0a 5c 64 65 66 | 5c 67 65 6e 65 72 69 63 |de}.\def|\generic|
|00002800| 6c 61 62 65 6c 23 31 7b | 25 0a 5c 69 66 66 69 72 |label#1{|%.\iffir|
|00002810| 73 74 40 6c 61 62 65 6c | 5c 69 66 66 72 61 6d 65 |st@label|\ifframe|
|00002820| 64 6c 61 62 65 6c 73 25 | 0a 5c 61 64 76 61 6e 63 |dlabels%|.\advanc|
|00002830| 65 5c 6c 61 62 65 6c 40 | 68 65 69 67 68 74 20 62 |e\label@|height b|
|00002840| 79 2d 32 5c 66 62 6f 78 | 73 65 70 25 0a 5c 61 64 |y-2\fbox|sep%.\ad|
|00002850| 76 61 6e 63 65 5c 6c 61 | 62 65 6c 40 68 65 69 67 |vance\la|bel@heig|
|00002860| 68 74 20 62 79 2d 32 5c | 66 62 6f 78 72 75 6c 65 |ht by-2\|fboxrule|
|00002870| 25 0a 5c 68 61 6c 66 40 | 6c 61 62 65 6c 5c 6c 61 |%.\half@|label\la|
|00002880| 62 65 6c 40 68 65 69 67 | 68 74 5c 64 69 76 69 64 |bel@heig|ht\divid|
|00002890| 65 5c 68 61 6c 66 40 6c | 61 62 65 6c 20 62 79 20 |e\half@l|abel by |
|000028a0| 32 0a 5c 61 64 76 61 6e | 63 65 5c 68 61 6c 66 40 |2.\advan|ce\half@|
|000028b0| 6c 61 62 65 6c 20 62 79 | 20 2d 5c 74 6f 70 40 62 |label by| -\top@b|
|000028c0| 6f 72 64 65 72 25 0a 5c | 66 69 72 73 74 40 6c 61 |order%.\|first@la|
|000028d0| 62 65 6c 66 61 6c 73 65 | 25 0a 5c 66 69 5c 66 69 |belfalse|%.\fi\fi|
|000028e0| 25 0a 5c 73 61 76 65 62 | 6f 78 7b 5c 74 68 69 73 |%.\saveb|ox{\this|
|000028f0| 40 6c 61 62 65 6c 7d 7b | 23 31 7d 5c 73 74 69 63 |@label}{|#1}\stic|
|00002900| 6b 79 40 6c 61 62 65 6c | 5c 40 67 6f 62 62 6c 65 |ky@label|\@gobble|
|00002910| 63 72 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |cr}.% | \end{ma|
|00002920| 63 72 6f 63 6f 64 65 7d | 0a 25 20 46 6f 72 20 63 |crocode}|.% For c|
|00002930| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 20 77 69 74 |ompatibi|lity wit|
|00002940| 68 20 61 6e 20 6f 6c 64 | 20 6c 61 62 65 6c 20 73 |h an old| label s|
|00002950| 74 79 6c 65 2c 20 6c 69 | 6e 65 73 20 65 6e 64 69 |tyle, li|nes endi|
|00002960| 6e 67 20 69 6e 20 5c 76 | 65 72 62 7c 2f 2f 7c 0a |ng in \v|erb|//|.|
|00002970| 25 20 61 6e 64 20 6d 61 | 72 6b 65 64 20 77 69 74 |% and ma|rked wit|
|00002980| 68 20 5c 76 65 72 62 7c | 5c 61 64 64 72 65 73 73 |h \verb||\address|
|00002990| 6c 61 62 65 6c 7b 2e 2e | 2e 2e 7d 7c 0a 25 20 20 |label{..|..}|.% |
|000029a0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|000029b0| 64 65 7d 0a 5c 64 65 66 | 5c 61 64 64 72 65 73 73 |de}.\def|\address|
|000029c0| 6c 61 62 65 6c 23 31 7b | 5c 67 65 6e 65 72 69 63 |label#1{|\generic|
|000029d0| 6c 61 62 65 6c 7b 25 0a | 5c 62 65 67 69 6e 7b 74 |label{%.|\begin{t|
|000029e0| 61 62 75 6c 61 72 7d 7b | 6c 7d 23 31 5c 65 6e 64 |abular}{|l}#1\end|
|000029f0| 7b 74 61 62 75 6c 61 72 | 7d 7d 7d 0a 25 20 20 20 |{tabular|}}}.% |
|00002a00| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002a10| 0a 25 0a 25 20 4e 6f 77 | 20 65 61 73 69 65 72 20 |.%.% Now| easier |
|00002a20| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 73 20 66 6f 72 |environm|ents for|
|00002a30| 20 76 65 72 62 61 74 69 | 6d 20 6c 61 62 65 6c 73 | verbati|m labels|
|00002a40| 2e 0a 25 20 49 66 20 77 | 65 20 77 61 6e 74 20 66 |..% If w|e want f|
|00002a50| 72 61 6d 65 64 20 6c 61 | 62 65 6c 73 2c 20 77 65 |ramed la|bels, we|
|00002a60| 20 6e 65 65 64 20 74 6f | 20 61 64 6a 75 73 74 20 | need to| adjust |
|00002a70| 74 68 65 20 77 69 64 74 | 68 20 61 76 61 69 6c 61 |the widt|h availa|
|00002a80| 62 6c 65 0a 25 20 74 6f | 20 75 73 65 20 74 6f 20 |ble.% to| use to |
|00002a90| 61 6c 6c 6f 77 20 66 6f | 72 20 74 68 65 20 72 75 |allow fo|r the ru|
|00002aa0| 6c 65 20 77 69 64 74 68 | 20 61 6e 64 20 74 68 65 |le width| and the|
|00002ab0| 20 67 61 70 20 62 65 74 | 77 65 65 6e 20 62 6f 78 | gap bet|ween box|
|00002ac0| 20 61 6e 64 20 72 75 6c | 65 2c 20 0a 25 20 69 6e | and rul|e, .% in|
|00002ad0| 20 62 6f 74 68 20 61 78 | 65 73 2e 0a 25 20 54 68 | both ax|es..% Th|
|00002ae0| 69 73 20 69 73 20 64 6f | 75 62 6c 65 64 20 75 70 |is is do|ubled up|
|00002af0| 2c 20 61 73 20 69 74 20 | 68 61 70 70 65 6e 73 20 |, as it |happens |
|00002b00| 6f 6e 20 62 6f 74 68 20 | 73 69 64 65 73 20 2f 20 |on both |sides / |
|00002b10| 62 6f 74 74 6f 6d 73 2e | 0a 25 20 57 65 20 68 61 |bottoms.|.% We ha|
|00002b20| 76 65 20 74 6f 20 63 68 | 65 63 6b 20 69 6e 20 63 |ve to ch|eck in c|
|00002b30| 61 73 65 20 74 68 65 20 | 66 69 72 73 74 20 5c 76 |ase the |first \v|
|00002b40| 65 72 62 7c 5c 62 65 67 | 69 6e 7b 6c 61 62 65 6c |erb|\beg|in{label|
|00002b50| 73 7d 7c 20 68 61 73 20 | 61 0a 25 20 5c 76 65 72 |s}| has |a.% \ver|
|00002b60| 62 7c 5e 5e 4d 7c 20 61 | 66 74 65 72 20 69 74 20 |b|^^M| a|fter it |
|00002b70| 6f 72 20 28 70 72 65 66 | 65 72 61 62 6c 79 29 20 |or (pref|erably) |
|00002b80| 69 73 20 74 65 72 6d 69 | 6e 61 74 65 64 20 62 79 |is termi|nated by|
|00002b90| 20 61 20 5c 76 65 72 62 | 7c 25 7c 0a 25 20 20 20 | a \verb||%|.% |
|00002ba0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00002bb0| 65 7d 0a 5c 6e 65 77 65 | 6e 76 69 72 6f 6e 6d 65 |e}.\newe|nvironme|
|00002bc0| 6e 74 7b 6c 61 62 65 6c | 73 7d 25 0a 7b 25 0a 5c |nt{label|s}%.{%.\|
|00002bd0| 69 66 66 69 72 73 74 40 | 6c 61 62 65 6c 5c 69 66 |iffirst@|label\if|
|00002be0| 66 72 61 6d 65 64 6c 61 | 62 65 6c 73 25 0a 5c 61 |framedla|bels%.\a|
|00002bf0| 64 76 61 6e 63 65 5c 61 | 72 65 61 40 77 69 64 74 |dvance\a|rea@widt|
|00002c00| 68 20 62 79 2d 32 5c 66 | 62 6f 78 73 65 70 25 0a |h by-2\f|boxsep%.|
|00002c10| 5c 61 64 76 61 6e 63 65 | 5c 61 72 65 61 40 77 69 |\advance|\area@wi|
|00002c20| 64 74 68 20 62 79 2d 32 | 5c 66 62 6f 78 72 75 6c |dth by-2|\fboxrul|
|00002c30| 65 25 0a 5c 61 64 76 61 | 6e 63 65 5c 6c 61 62 65 |e%.\adva|nce\labe|
|00002c40| 6c 40 68 65 69 67 68 74 | 20 62 79 2d 32 5c 66 62 |l@height| by-2\fb|
|00002c50| 6f 78 73 65 70 25 0a 5c | 61 64 76 61 6e 63 65 5c |oxsep%.\|advance\|
|00002c60| 6c 61 62 65 6c 40 68 65 | 69 67 68 74 20 62 79 2d |label@he|ight by-|
|00002c70| 32 5c 66 62 6f 78 72 75 | 6c 65 25 0a 5c 68 61 6c |2\fboxru|le%.\hal|
|00002c80| 66 40 6c 61 62 65 6c 5c | 6c 61 62 65 6c 40 68 65 |f@label\|label@he|
|00002c90| 69 67 68 74 5c 64 69 76 | 69 64 65 5c 68 61 6c 66 |ight\div|ide\half|
|00002ca0| 40 6c 61 62 65 6c 20 62 | 79 20 32 0a 5c 61 64 76 |@label b|y 2.\adv|
|00002cb0| 61 6e 63 65 5c 68 61 6c | 66 40 6c 61 62 65 6c 20 |ance\hal|f@label |
|00002cc0| 62 79 20 2d 5c 74 6f 70 | 40 62 6f 72 64 65 72 25 |by -\top|@border%|
|00002cd0| 0a 5c 66 69 72 73 74 40 | 6c 61 62 65 6c 66 61 6c |.\first@|labelfal|
|00002ce0| 73 65 25 0a 5c 66 69 5c | 66 69 25 0a 5c 73 74 61 |se%.\fi\|fi%.\sta|
|00002cf0| 72 74 40 40 6c 61 62 65 | 6c 5c 66 75 74 75 72 65 |rt@@labe|l\future|
|00002d00| 6c 65 74 5c 66 69 72 73 | 74 74 6f 6b 65 6e 5c 73 |let\firs|ttoken\s|
|00002d10| 74 61 72 74 69 6e 67 74 | 6f 6b 65 6e 7d 25 0a 7b |tartingt|oken}%.{|
|00002d20| 5c 65 6e 64 40 40 6c 61 | 62 65 6c 7d 0a 25 20 20 |\end@@la|bel}.% |
|00002d30| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00002d40| 7d 0a 25 0a 25 20 45 76 | 65 6e 20 6d 6f 72 65 20 |}.%.% Ev|en more |
|00002d50| 66 6f 6f 6c 70 72 6f 6f | 66 3a 20 73 69 6d 70 6c |foolproo|f: simpl|
|00002d60| 79 20 74 61 6b 65 20 61 | 20 70 61 72 61 6d 65 74 |y take a| paramet|
|00002d70| 65 72 20 6f 66 20 66 69 | 6c 65 20 6e 61 6d 65 0a |er of fi|le name.|
|00002d80| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00002d90| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 5c 6c 61 62 65 |ocode}.\|def\labe|
|00002da0| 6c 66 69 6c 65 23 31 7b | 5c 62 65 67 69 6e 7b 6c |lfile#1{|\begin{l|
|00002db0| 61 62 65 6c 73 7d 5c 69 | 6e 70 75 74 23 31 5c 65 |abels}\i|nput#1\e|
|00002dc0| 6e 64 7b 6c 61 62 65 6c | 73 7d 7d 0a 25 20 20 20 |nd{label|s}}.% |
|00002dd0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002de0| 0a 25 20 6f 72 20 70 72 | 6f 6d 70 74 20 66 6f 72 |.% or pr|ompt for|
|00002df0| 20 69 74 3a 0a 25 20 20 | 20 20 5c 62 65 67 69 6e | it:.% | \begin|
|00002e00| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00002e10| 5c 70 72 6f 6d 70 74 6c | 61 62 65 6c 73 7b 5c 74 |\promptl|abels{\t|
|00002e20| 79 70 65 69 6e 5b 5c 6c | 61 62 65 6c 66 69 6c 65 |ypein[\l|abelfile|
|00002e30| 6e 61 6d 65 5d 7b 57 68 | 61 74 20 69 73 20 74 68 |name]{Wh|at is th|
|00002e40| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 0a 6c 61 |e name o|f the.la|
|00002e50| 62 65 6c 20 66 69 6c 65 | 3f 7d 0a 5c 6c 61 62 65 |bel file|?}.\labe|
|00002e60| 6c 66 69 6c 65 7b 5c 6c | 61 62 65 6c 66 69 6c 65 |lfile{\l|abelfile|
|00002e70| 6e 61 6d 65 7d 7d 0a 5c | 6e 65 77 63 6f 75 6e 74 |name}}.\|newcount|
|00002e80| 5c 73 6b 40 70 70 65 64 | 0a 5c 64 65 66 5c 73 6b |\sk@pped|.\def\sk|
|00002e90| 69 70 6c 61 62 65 6c 73 | 23 31 7b 5c 73 6b 40 70 |iplabels|#1{\sk@p|
|00002ea0| 70 65 64 3d 23 31 25 0a | 5c 73 61 76 65 62 6f 78 |ped=#1%.|\savebox|
|00002eb0| 7b 5c 74 68 69 73 40 6c | 61 62 65 6c 7d 7b 5c 72 |{\this@l|abel}{\r|
|00002ec0| 75 6c 65 7b 30 70 74 7d | 7b 2e 35 69 6e 7d 7d 25 |ule{0pt}|{.5in}}%|
|00002ed0| 0a 5c 73 6b 69 70 40 6c | 61 62 65 6c 73 3d 30 0a |.\skip@l|abels=0.|
|00002ee0| 5c 6c 6f 6f 70 5c 69 66 | 6e 75 6d 5c 73 6b 69 70 |\loop\if|num\skip|
|00002ef0| 40 6c 61 62 65 6c 73 3c | 5c 73 6b 40 70 70 65 64 |@labels<|\sk@pped|
|00002f00| 5c 61 64 76 61 6e 63 65 | 5c 73 6b 69 70 40 6c 61 |\advance|\skip@la|
|00002f10| 62 65 6c 73 20 62 79 20 | 31 0a 5c 6d 65 73 73 61 |bels by |1.\messa|
|00002f20| 67 65 7b 78 7d 5c 6d 61 | 6b 65 40 6c 61 62 65 6c |ge{x}\ma|ke@label|
|00002f30| 0a 5c 72 65 70 65 61 74 | 7d 0a 25 3c 2f 63 6c 61 |.\repeat|}.%</cla|
|00002f40| 73 73 3e 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |ss>.% | \end{ma|
|00002f50| 63 72 6f 63 6f 64 65 7d | 0a 25 20 20 20 20 5c 62 |crocode}|.% \b|
|00002f60| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00002f70| 25 3c 2a 73 74 79 6c 65 | 3e 0a 5c 4e 65 65 64 73 |%<*style|>.\Needs|
|00002f80| 54 65 58 46 6f 72 6d 61 | 74 7b 4c 61 54 65 58 32 |TeXForma|t{LaTeX2|
|00002f90| 65 7d 0a 5c 40 6f 62 73 | 6f 6c 65 74 65 66 69 6c |e}.\@obs|oletefil|
|00002fa0| 65 7b 6c 61 62 65 6c 73 | 2e 63 6c 73 7d 7b 6c 61 |e{labels|.cls}{la|
|00002fb0| 62 65 6c 73 2e 73 74 79 | 7d 0a 5c 4c 6f 61 64 43 |bels.sty|}.\LoadC|
|00002fc0| 6c 61 73 73 7b 6c 61 62 | 65 6c 73 7d 0a 25 3c 2f |lass{lab|els}.%</|
|00002fd0| 73 74 79 6c 65 3e 0a 25 | 20 20 20 20 5c 65 6e 64 |style>.%| \end|
|00002fe0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 73 |{macroco|de}.% \s|
|00002ff0| 65 63 74 69 6f 6e 7b 48 | 69 73 74 6f 72 79 20 61 |ection{H|istory a|
|00003000| 6e 64 20 61 63 6b 6e 6f | 77 6c 65 64 67 65 6d 65 |nd ackno|wledgeme|
|00003010| 6e 74 73 7d 0a 25 20 5c | 62 65 67 69 6e 7b 69 74 |nts}.% \|begin{it|
|00003020| 65 6d 69 7a 65 7d 0a 25 | 20 5c 69 74 65 6d 20 76 |emize}.%| \item v|
|00003030| 2e 31 20 4d 61 79 20 39 | 74 68 20 31 39 38 39 20 |.1 May 9|th 1989 |
|00003040| 73 69 6d 70 6c 79 20 61 | 6c 6c 6f 77 65 64 20 0a |simply a|llowed .|
|00003050| 25 20 66 6f 72 20 7c 5c | 61 64 64 72 65 73 73 6c |% for |\|addressl|
|00003060| 61 62 65 6c 7b 2e 2e 2e | 20 5c 5c 20 2e 2e 2e 5c |abel{...| \\ ...\|
|00003070| 5c 2e 2e 2e 7d 7c 0a 25 | 20 5c 69 74 65 6d 20 76 |\...}|.%| \item v|
|00003080| 2e 32 20 4a 75 6c 79 20 | 31 35 74 68 20 70 65 72 |.2 July |15th per|
|00003090| 6d 69 74 74 65 64 20 76 | 65 72 62 61 74 69 6d 20 |mitted v|erbatim |
|000030a0| 73 74 79 6c 65 20 77 69 | 74 68 20 6e 6f 20 65 78 |style wi|th no ex|
|000030b0| 70 6c 69 63 69 74 20 65 | 6e 64 20 6f 66 20 6c 69 |plicit e|nd of li|
|000030c0| 6e 65 73 0a 25 20 5c 69 | 74 65 6d 20 76 2e 33 20 |nes.% \i|tem v.3 |
|000030d0| 4d 61 72 63 68 20 31 39 | 39 31 20 6d 61 64 65 20 |March 19|91 made |
|000030e0| 6d 6f 72 65 20 67 65 6e | 65 72 69 63 0a 25 20 5c |more gen|eric.% \|
|000030f0| 69 74 65 6d 20 76 2e 34 | 20 4a 61 6e 75 61 72 79 |item v.4| January|
|00003100| 20 31 39 39 32 20 63 68 | 65 63 6b 65 64 20 61 6e | 1992 ch|ecked an|
|00003110| 64 20 6d 61 64 65 20 74 | 6f 20 77 6f 72 6b 20 77 |d made t|o work w|
|00003120| 69 74 68 20 65 6d 74 65 | 78 20 20 64 72 69 76 65 |ith emte|x drive|
|00003130| 72 73 0a 25 20 74 6f 20 | 6d 79 20 73 61 74 69 73 |rs.% to |my satis|
|00003140| 66 61 63 74 69 6f 6e 2c | 20 61 6e 64 20 64 6f 63 |faction,| and doc|
|00003150| 75 6d 65 6e 74 65 64 20 | 74 6f 20 62 61 72 65 2d |umented |to bare-|
|00003160| 62 6f 6e 65 73 20 6c 65 | 76 65 6c 20 77 69 74 68 |bones le|vel with|
|00003170| 20 60 64 6f 63 27 20 73 | 79 73 74 65 6d 2e 0a 25 | `doc' s|ystem..%|
|00003180| 20 5c 69 74 65 6d 20 76 | 2e 35 20 4d 61 72 63 68 | \item v|.5 March|
|00003190| 20 31 39 39 33 20 61 6c | 6c 6f 77 65 64 20 66 6f | 1993 al|lowed fo|
|000031a0| 72 20 7c 5c 73 6b 69 70 | 6c 61 62 65 6c 73 7c 0a |r |\skip|labels|.|
|000031b0| 25 20 5c 69 74 65 6d 20 | 76 2e 36 20 4a 61 6e 75 |% \item |v.6 Janu|
|000031c0| 61 72 79 20 31 39 39 34 | 20 66 6f 72 20 5c 4c 61 |ary 1994| for \La|
|000031d0| 54 65 58 65 0a 25 20 5c | 69 74 65 6d 20 76 2e 37 |TeXe.% \|item v.7|
|000031e0| 20 4a 61 6e 75 61 72 79 | 20 31 39 39 34 20 66 69 | January| 1994 fi|
|000031f0| 78 65 73 0a 25 20 5c 69 | 74 65 6d 20 76 2e 38 20 |xes.% \i|tem v.8 |
|00003200| 41 70 72 69 6c 20 31 39 | 39 34 20 72 65 76 69 73 |April 19|94 revis|
|00003210| 65 64 20 2e 64 74 78 20 | 66 69 6c 65 0a 25 20 5c |ed .dtx |file.% \|
|00003220| 65 6e 64 7b 69 74 65 6d | 69 7a 65 7d 0a 25 20 54 |end{item|ize}.% T|
|00003230| 68 65 20 63 72 75 63 69 | 61 6c 20 6d 61 63 72 6f |he cruci|al macro|
|00003240| 73 20 77 68 69 63 68 20 | 6d 61 6b 65 20 74 68 65 |s which |make the|
|00003250| 20 73 79 73 74 65 6d 20 | 62 65 61 72 61 62 6c 65 | system |bearable|
|00003260| 20 66 6f 72 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 | for mai|ling lis|
|00003270| 74 73 0a 25 20 62 79 20 | 72 65 64 65 66 69 6e 69 |ts.% by |redefini|
|00003280| 6e 67 20 65 6e 64 20 6f | 66 20 6c 69 6e 65 20 63 |ng end o|f line c|
|00003290| 61 6d 65 20 66 72 6f 6d | 20 50 68 69 6c 20 54 61 |ame from| Phil Ta|
|000032a0| 79 6c 6f 72 3b 20 61 70 | 6f 6c 6f 67 69 65 73 20 |ylor; ap|ologies |
|000032b0| 0a 25 20 74 6f 20 68 69 | 6d 20 66 6f 72 20 75 73 |.% to hi|m for us|
|000032c0| 69 6e 67 20 74 68 65 6d | 20 69 6e 20 61 20 5c 4c |ing them| in a \L|
|000032d0| 61 54 65 58 5c 20 73 74 | 79 6c 65 20 66 69 6c 65 |aTeX\ st|yle file|
|000032e0| 21 0a 25 0a 25 20 5c 46 | 69 6e 61 6c 65 0a 5c 65 |!.%.% \F|inale.\e|
|000032f0| 6e 64 69 6e 70 75 74 0a | 25 25 20 5c 43 68 61 72 |ndinput.|%% \Char|
|00003300| 61 63 74 65 72 54 61 62 | 6c 65 0a 25 25 20 20 7b |acterTab|le.%% {|
|00003310| 55 70 70 65 72 2d 63 61 | 73 65 20 20 20 20 5c 41 |Upper-ca|se \A|
|00003320| 5c 42 5c 43 5c 44 5c 45 | 5c 46 5c 47 5c 48 5c 49 |\B\C\D\E|\F\G\H\I|
|00003330| 5c 4a 5c 4b 5c 4c 5c 4d | 5c 4e 5c 4f 5c 50 5c 51 |\J\K\L\M|\N\O\P\Q|
|00003340| 5c 52 5c 53 5c 54 5c 55 | 5c 56 5c 57 5c 58 5c 59 |\R\S\T\U|\V\W\X\Y|
|00003350| 5c 5a 0a 25 25 20 20 20 | 4c 6f 77 65 72 2d 63 61 |\Z.%% |Lower-ca|
|00003360| 73 65 20 20 20 20 5c 61 | 5c 62 5c 63 5c 64 5c 65 |se \a|\b\c\d\e|
|00003370| 5c 66 5c 67 5c 68 5c 69 | 5c 6a 5c 6b 5c 6c 5c 6d |\f\g\h\i|\j\k\l\m|
|00003380| 5c 6e 5c 6f 5c 70 5c 71 | 5c 72 5c 73 5c 74 5c 75 |\n\o\p\q|\r\s\t\u|
|00003390| 5c 76 5c 77 5c 78 5c 79 | 5c 7a 0a 25 25 20 20 20 |\v\w\x\y|\z.%% |
|000033a0| 44 69 67 69 74 73 20 20 | 20 20 20 20 20 20 5c 30 |Digits | \0|
|000033b0| 5c 31 5c 32 5c 33 5c 34 | 5c 35 5c 36 5c 37 5c 38 |\1\2\3\4|\5\6\7\8|
|000033c0| 5c 39 0a 25 25 20 20 20 | 45 78 63 6c 61 6d 61 74 |\9.%% |Exclamat|
|000033d0| 69 6f 6e 20 20 20 5c 21 | 20 20 20 20 20 44 6f 75 |ion \!| Dou|
|000033e0| 62 6c 65 20 71 75 6f 74 | 65 20 20 5c 22 20 20 20 |ble quot|e \" |
|000033f0| 20 20 48 61 73 68 20 28 | 6e 75 6d 62 65 72 29 20 | Hash (|number) |
|00003400| 5c 23 0a 25 25 20 20 20 | 44 6f 6c 6c 61 72 20 20 |\#.%% |Dollar |
|00003410| 20 20 20 20 20 20 5c 24 | 20 20 20 20 20 50 65 72 | \$| Per|
|00003420| 63 65 6e 74 20 20 20 20 | 20 20 20 5c 25 20 20 20 |cent | \% |
|00003430| 20 20 41 6d 70 65 72 73 | 61 6e 64 20 20 20 20 20 | Ampers|and |
|00003440| 5c 26 0a 25 25 20 20 20 | 41 63 75 74 65 20 61 63 |\&.%% |Acute ac|
|00003450| 63 65 6e 74 20 20 5c 27 | 20 20 20 20 20 4c 65 66 |cent \'| Lef|
|00003460| 74 20 70 61 72 65 6e 20 | 20 20 20 5c 28 20 20 20 |t paren | \( |
|00003470| 20 20 52 69 67 68 74 20 | 70 61 72 65 6e 20 20 20 | Right |paren |
|00003480| 5c 29 0a 25 25 20 20 20 | 41 73 74 65 72 69 73 6b |\).%% |Asterisk|
|00003490| 20 20 20 20 20 20 5c 2a | 20 20 20 20 20 50 6c 75 | \*| Plu|
|000034a0| 73 20 20 20 20 20 20 20 | 20 20 20 5c 2b 20 20 20 |s | \+ |
|000034b0| 20 20 43 6f 6d 6d 61 20 | 20 20 20 20 20 20 20 20 | Comma | |
|000034c0| 5c 2c 0a 25 25 20 20 20 | 4d 69 6e 75 73 20 20 20 |\,.%% |Minus |
|000034d0| 20 20 20 20 20 20 5c 2d | 20 20 20 20 20 50 6f 69 | \-| Poi|
|000034e0| 6e 74 20 20 20 20 20 20 | 20 20 20 5c 2e 20 20 20 |nt | \. |
|000034f0| 20 20 53 6f 6c 69 64 75 | 73 20 20 20 20 20 20 20 | Solidu|s |
|00003500| 5c 2f 0a 25 25 20 20 20 | 43 6f 6c 6f 6e 20 20 20 |\/.%% |Colon |
|00003510| 20 20 20 20 20 20 5c 3a | 20 20 20 20 20 53 65 6d | \:| Sem|
|00003520| 69 63 6f 6c 6f 6e 20 20 | 20 20 20 5c 3b 20 20 20 |icolon | \; |
|00003530| 20 20 4c 65 73 73 20 74 | 68 61 6e 20 20 20 20 20 | Less t|han |
|00003540| 5c 3c 0a 25 25 20 20 20 | 45 71 75 61 6c 73 20 20 |\<.%% |Equals |
|00003550| 20 20 20 20 20 20 5c 3d | 20 20 20 20 20 47 72 65 | \=| Gre|
|00003560| 61 74 65 72 20 74 68 61 | 6e 20 20 5c 3e 20 20 20 |ater tha|n \> |
|00003570| 20 20 51 75 65 73 74 69 | 6f 6e 20 6d 61 72 6b 20 | Questi|on mark |
|00003580| 5c 3f 0a 25 25 20 20 20 | 43 6f 6d 6d 65 72 63 69 |\?.%% |Commerci|
|00003590| 61 6c 20 61 74 20 5c 40 | 20 20 20 20 20 4c 65 66 |al at \@| Lef|
|000035a0| 74 20 62 72 61 63 6b 65 | 74 20 20 5c 5b 20 20 20 |t bracke|t \[ |
|000035b0| 20 20 42 61 63 6b 73 6c | 61 73 68 20 20 20 20 20 | Backsl|ash |
|000035c0| 5c 5c 0a 25 25 20 20 20 | 52 69 67 68 74 20 62 72 |\\.%% |Right br|
|000035d0| 61 63 6b 65 74 20 5c 5d | 20 20 20 20 20 43 69 72 |acket \]| Cir|
|000035e0| 63 75 6d 66 6c 65 78 20 | 20 20 20 5c 5e 20 20 20 |cumflex | \^ |
|000035f0| 20 20 55 6e 64 65 72 73 | 63 6f 72 65 20 20 20 20 | Unders|core |
|00003600| 5c 5f 0a 25 25 20 20 20 | 47 72 61 76 65 20 61 63 |\_.%% |Grave ac|
|00003610| 63 65 6e 74 20 20 5c 60 | 20 20 20 20 20 4c 65 66 |cent \`| Lef|
|00003620| 74 20 62 72 61 63 65 20 | 20 20 20 5c 7b 20 20 20 |t brace | \{ |
|00003630| 20 20 56 65 72 74 69 63 | 61 6c 20 62 61 72 20 20 | Vertic|al bar |
|00003640| 5c 7c 0a 25 25 20 20 20 | 52 69 67 68 74 20 62 72 |\|.%% |Right br|
|00003650| 61 63 65 20 20 20 5c 7d | 20 20 20 20 20 54 69 6c |ace \}| Til|
|00003660| 64 65 20 20 20 20 20 20 | 20 20 20 5c 7e 7d 0a 0a |de | \~}..|
+--------+-------------------------+-------------------------+--------+--------+